Home » Extra libraries, Code snippets, applications etc. » C++ language problems and code snippets » C++ issues (reply to PM)
C++ issues (reply to PM) [message #6909] |
Mon, 04 December 2006 09:54 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
Quote: |
1/ bool something:1; <-- I saw this a lot throughout the code... Never seen anything like it? What's it?
|
This tell the compiler to use only one bit to store the bool if possible.
Quote: |
2/ I saw in W32proc you made a forwarded declaration of a function INSIDE the code (DispatchKey)?? Isn't that forbidden in C++?
|
Certainly not in DispatchKey. But AFAIK, it is allowed.
Frankly, that is pretty poorly explained problem. Can you be more specific? Maybe more practical explanation would be in order. (E.g. this looks like you want to create a cache. Is that correct?)
Mirek
|
|
|
Goto Forum:
Current Time: Sat May 04 10:59:05 CEST 2024
Total time taken to generate the page: 0.02217 seconds
|