Eric Maslowski wrote: > Hello, > Replacing the "vector<bool>" with a "vector<Uint8>" fixed that issue, but > ran into another semi-related one. (see below) First, just want to point out > that there were a few instances of vector<bool> scattered about. Some were: > vector <bool > for formatting purposes. (just in case this gets added to > the standard release)
Small comment: vector<bool> is a C++ wart at the moment, since it's does not fullfill the requirements for a std-container. This is due to the way it hides it bit-packing. I feel it's best avoided. Boost has a dynamic bitset that's probably better. Cheers, /Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
