|
Boost Users : |
Subject: Re: [Boost-users] [type_traits] defining my own trait
From: Brian Budge (brian.budge_at_[hidden])
Date: 2012-07-20 16:13:22
On Fri, Jul 20, 2012 at 1:00 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
>> I guess the real question is this: is there a way to define
>> is_memcpyable so that the value is true if a class does not define
>> operator=, and all of it's members or inherited types are also
>> memcpyable?
>>
>
> No there isn't. This requires compiler support.
I had feared as much. Is this case "fixed" in c++11?
Thanks,
Brian
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