$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Concept DefaultConstructible vs type traits has_trivial_constructor
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2009-04-09 07:33:38
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_at_[hidden]> 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_at_[hidden]
> http://listarchives.boost.org/mailman/listinfo.cgi/boost-users
>