On Fri, 26 Sep 2008, Tim Kroeger wrote:

> Dear Roy,
>
> On Fri, 26 Sep 2008, Roy Stogner wrote:
>
>>> The only big catch that you need to worry about with that conversion
>>> is vector resizing
>>
>> Whoops!  There's actually one more catch, if you have an expansive
>> definition of "C array".  To save storage space, there's a trick in
>> the standard:  std::vector<bool> isn't really a std::vector, it's a
>> data structure that encapsulates some bit twiddling to carry the
>> requested information.
>
> Thank you very much for you reply.  Where on the internet can I find
> that document that says all there things?

Unofficially, this is a good place to look for all things C++:

http://www.parashift.com/c++-faq-lite/containers.html#faq-34.3

Officially, I can't find an online copy of the standard that doesn't
require username/password, but here's Stroustrup (or a good
impersonator) quoting it on comp.lang.c++:

http://groups.google.com/group/comp.lang.c++/browse_thread/thread/8eadc19db7f52fd8/e856421fa563d42b?lnk=st&q=vector+storage+contiguous+stroustrup#e856421fa563d42b
---
Roy

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to