Yes,

struct S
{
     S(){}
};

S is default constructible but does not have a trivial ctor.


Regards,
Ovanes


On Thu, Apr 9, 2009 at 1:22 PM, Hicham Mouline <hicham@mouline.org> wrote:
Hi,

What is the difference between the 2?

For a type T,
can it be DefaultConstructible and has_trivial_constructor<T> is false?

Rds,

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users