First  |  Prev |  Next  |  Last
Pages: 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
Why is bitset defined in the associative containers section?
I cannot find any statement in the standard that says bitset is an associative container; it clearly doesn't satisfy the associative container requirements. (On the contrary, it is described as dealing with "fixed-size *sequences* of bits".) Then why is it defined in the associative containers section? I checked... 22 Jul 2008 22:57
Class member acces through pointer vs object
{ Multi-posted to [comp.lang.c++]. -mod } While reading Inside the C++ object model I came through the following paragraph Point3d origin, *ptr = &origin; A) origin.x = 0.0; B) ptr->x = 0.0; The book says "A & B statements performs equivalently if x is a member of a struct, class, single inheritance hier... 19 Jul 2008 16:03
nested template class instantiation from template function problems
On Jul 17, 9:38 pm, Greg Herlihy <gre...(a)mac.com> wrote: On Jul 17, 8:29 pm, Jeff Koftinoff <jeff.koftin...(a)gmail.com> wrote: I'm certain that I'm doing something wrong here, but I'm not sure how to do it right. Here is the code and the errors I get by uncommenting the individual line... 18 Jul 2008 02:05
What kind of questions should be asked in this group rather than comp.lang.c++?
Peng Yu wrote: Due to the nature of this group (moderated), the turn around time of a post is much longer compared with comp.lang.c++. I'm wondering what the advantage of this group compared to comp.lang.c++. If any questions can be answered in both group, I would prefer the non moderated one. The adv... 18 Jul 2008 02:05
Vector et al default initialized
Taken from the standard 23.2.4.1 vector constructors, copy, and assignment [lib.vector.cons] .... explicit vector(size_type n, const T& value = T(), const Allocator& = Allocator()); Is there a specific reason they did not instead choose the following (or something similar) instead? explicit vector(size_ty... 19 Jul 2008 00:43
Weird behavior with uninitialized data
I know working with uninitialized data is a sin, but I was doing this experiment where I spawned an int onto the heap and checked it's address, then deleted it, then redefined it as a new int on the heap. This behaved as hoped: The address never changed--I believe this is proof of good decision-making in where to a... 19 Jul 2008 16:03
nested template class instantiation from template function problems
On Jul 17, 8:29 pm, Jeff Koftinoff <jeff.koftin...(a)gmail.com> wrote: I'm certain that I'm doing something wrong here, but I'm not sure how to do it right. Here is the code and the errors I get by uncommenting the individual lines. Similar errors happen from Comeau's tryitout, so I think this is not... 18 Jul 2008 00:03
What kind of questions should be asked in this group rather than comp.lang.c++?
Hi, Due to the nature of this group (moderated), the turn around time of a post is much longer compared with comp.lang.c++. I'm wondering what the advantage of this group compared to comp.lang.c++. If any questions can be answered in both group, I would prefer the non moderated one. Is this the case, that a m... 17 Jul 2008 23:01
nested template class instantiation from template function problems
I'm certain that I'm doing something wrong here, but I'm not sure how to do it right. Here is the code and the errors I get by uncommenting the individual lines. Similar errors happen from Comeau's tryitout, so I think this is not a gcc bug. Can anyone help? ---- #include <iostream> #include <complex> ... 17 Jul 2008 23:01
changing streambuf to address a security hole
Good afternoon, I'd like to address a security hole in my application. Through a number of techniques it's possible to obtain a RAM dump of a running application. I'm using stringstream's to do type conversions. To minimize the amount of information left lying around in RAM I'd like to clear the streambuf used b... 18 Jul 2008 14:26
First  |  Prev |  Next  |  Last
Pages: 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53