
On Thu, 2 Dec 2004 21:02:10 -0500, Howard Hinnant <hinnant@twcny.rr.com> wrote:
Metrowerks::has_trivial_copy_ctor<T>::value
for a year or two now (depending on platform). Some of the STL containers use this information for optimizations. The implementation of this trait is tied to the Metrowerks compiler in a non-standard-C++ fashion (e.g. a compiler intrinsic).
This is probably getting to be more standards-related than boost-related, but... Assuming it isn't proprietary information, it would be useful if you could say a little bit about what your intrinsic looks like. As you may know, the core people, especially EDG, would like to see those sorts of intrinsics standardized. Everyone is going to have to implement some kind of interface that makes type traits implementable, and the EDG people figure that everyone might as well all implement the same thing. --Matt