Re: [PATCH] Implement P0084R2, Emplace return type, for C++17

2016-10-19 Thread Jonathan Wakely
On 17/10/16 12:56 +0100, Jonathan Wakely wrote: In C++17 the emplace_front and emplace_back members return a reference. There isn't a very neat way to implement this, so it's just lots of conditional compilation. This fixes a silly typo. Committed to trunk. commit

Re: [PATCH] Implement P0084R2, Emplace return type, for C++17

2016-10-18 Thread Christophe Lyon
Hi Jonathan, On 17 October 2016 at 13:56, Jonathan Wakely wrote: > In C++17 the emplace_front and emplace_back members return a > reference. There isn't a very neat way to implement this, so it's just > lots of conditional compilation. > > This isn't an ABI break, because

[PATCH] Implement P0084R2, Emplace return type, for C++17

2016-10-17 Thread Jonathan Wakely
In C++17 the emplace_front and emplace_back members return a reference. There isn't a very neat way to implement this, so it's just lots of conditional compilation. This isn't an ABI break, because these member functions are templates and so the return type is part of the mangled name. We can't