[pygccxml-development] static variable and noncopyable question
Brought to you by:
mbaas,
roman_yakovenko
From: Allen B. <al...@vr...> - 2006-09-28 16:45:38
|
I have a problem with my code generator. When wrapping a vector class defined here: http://opensg.vrsource.org/trac/browser/trunk/Source/Base/Base/OSGVector.h#L601 The "Null" variable makes the noncopoyable test fail because it isn't detected as static for some reason (ie. the test mvar.type_qualifiers.has_static in __is_noncopyable_single returns false). Any clues as to what may cause this or how to track it down? I ran into something while trying to track down a bug... This may be a limit to my C++ knowledge, but why does the type_traits.__is_noncopyable_single method consider a class non-copyable if it has const member variables. It seems to me that the class could still be copyable. -Allen |