Re: [PATCH] Simplify _Node_insert_return to avoid including

2017-11-03 Thread Jonathan Wakely
On 03/11/17 09:29 +, Jonathan Wakely wrote: On 02/11/17 18:00 -0400, Tim Song wrote: Um, why are those member get's there at all (and with an index mapping that doesn't agree with the member order)? [container.insert.return] says that "It has no base classes or members other than those

Re: [PATCH] Simplify _Node_insert_return to avoid including

2017-11-03 Thread Jonathan Wakely
On 02/11/17 18:00 -0400, Tim Song wrote: Um, why are those member get's there at all (and with an index mapping that doesn't agree with the member order)? [container.insert.return] says that "It has no base classes or members other than those specified." Because I forgot to implement

Re: [PATCH] Simplify _Node_insert_return to avoid including

2017-11-02 Thread Tim Song
Um, why are those member get's there at all (and with an index mapping that doesn't agree with the member order)? [container.insert.return] says that "It has no base classes or members other than those specified."

[PATCH] Simplify _Node_insert_return to avoid including

2017-10-27 Thread Jonathan Wakely
We can use auto return types and if constexpr to do this without including . * include/bits/node_handle.h (_Node_insert_return::get): Avoid use of std::tie and std::get. Tested powerpc64le-linux, committed to trunk. commit 397d3b68eb53ff6b229ac777a05dff4ae842a19b Author: