[CMake] gcc and concept-checks

Maik Beckmann beckmann.maik at googlemail.com
Thu May 15 14:45:09 EDT 2008


Am Donnerstag 15 Mai 2008 17:16:32 schrieb dizzy:
> Seems CMake is violating ISO C++ then. You may not instantiate standard
> library templates of incomplete types (for example, even "struct A {
> std::auto_ptr<A> a; };" is invalid, C++0x will have an exception to that
> for shared_ptr<>, but for the standard containers that surely is the rule).

I'll configure my gcc installation to use concepts-checks and I'll do some 
testing on the code at my workspace (i.e. boost) just to see how common this 
kind of STL abuse is.

-- Maik






More information about the CMake mailing list