|
Boost Users : |
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://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net