search for: intvec

Displaying 1 result from an estimated 1 matches for "intvec".

Did you mean: intec
2010 Nov 13
2
[LLVMdev] Possible bug in llvm-gcc
...m/questions/4173107/llvm-gcc-stdallocator-bug. It's causing a segmentation fault when compiled with llvm-g++ but not when compiled with g++. It also works under OS X but not under Ubuntu 10.10. I've reduced a test case down to the following: #include <vector> struct blub {}; struct intvec : public std::vector<int>, public blub {}; int main() { intvec d; intvec e(d); } The last interesting comment is that if I add the following copy constructor (as well as a default constructor), it works: intvec(const intvec & other) : std::vector<int>(other) {} I...