This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] Add constexpr specifiers to std::shared_ptr, std::unique_ptr, etc


On 11/09/2010 05:22 PM, Benjamin Kosnik wrote:
>> I've also changed the constexpr constructors to value-initialize the
>> tuple member, because only tuple's default constructor is constexpr.
>>     
> Thanks. I was concerned when the first change was incorrect by
> inspection, and tests were removed....
>   
To be clear: those tests were obviously incorrect, because unique_ptr
and shared_ptr are not literal types.

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]