Re: [v3 PATCH] Support allocators in tuples of zero size.

2016-06-06 Thread Jonathan Wakely
On 05/06/16 21:15 +0300, Ville Voutilainen wrote: { public: void swap(tuple&) noexcept { /* no-op */ } + // We need the default since we're going to define no-op + // allocator constructors. + tuple() = default; + // No-op allocator constructors. + template

Re: [v3 PATCH] Support allocators in tuples of zero size.

2016-06-05 Thread Ville Voutilainen
On 5 June 2016 at 20:59, Ville Voutilainen wrote: > All in all this is a bit inane, but the spec requires a zero-sized tuple > to provide allocator overloads for constructors, even though they do > absolutely nothing (they completely ignore the allocator). Presumably > these are also useful for so