Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 is currently offline  mirek
Messages: 13050
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.

Quote:


3/ Could you take a look at this problem: http://www.experts-exchange.com/Programming/Programming_Lang uages/Cplusplus/Q_22080677.html because I really can't find any -easy- solution (not even a difficult solution I can find without copying 30x the code).



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

Previous Topic: Alpha composition OVER operator WITHOUT premultiplied alpha
Next Topic: Experimental support for the upcoming ISO C++ standard in GCC 4.3.0
Goto Forum:
  


Current Time: Sat Jan 23 09:33:01 CET 2021

Total time taken to generate the page: 0.01661 seconds