Boost logo

Boost :

Subject: Re: [boost] [smart_ptr] !defined(BOOST_NO_CXX11_SMART_PTR) does notimply !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
From: Howard Hinnant (howard.hinnant_at_[hidden])
Date: 2013-02-09 11:16:34

On Feb 8, 2013, at 11:22 PM, Michel Morin <mimomorin_at_[hidden]> wrote:

> Peter Dimov wrote:
>> Michel Morin wrote:
>>> `!defined(BOOST_NO_CXX11_SMART_PTR)` does not necessarily mean that
>>> the compiler support of rvalue references is available. For example,
>> How could the standard library have std::unique_ptr without the compiler
>> supporting rvalue references?
> Seems like libc++ uses rvalue-ref emulation:

Yeah, but it isn't very good emulation. I don't recommend it.


Boost list run by bdawes at, gregod at, cpdaniel at, john at