Re: [PATCH] PR libstdc++/78939 make tuple_size depend on tuple_size

2017-05-12 Thread Jonathan Wakely
On 12/05/17 15:49 +0100, Jonathan Wakely wrote: This solves a conflict between late changes to the C++17 library and core language, which make tuple_size::value cause errors for const structured binding declarations. The problem is that LWG 2770 wants tuple_size to be complete, but sometimes have

[PATCH] PR libstdc++/78939 make tuple_size depend on tuple_size

2017-05-12 Thread Jonathan Wakely
This solves a conflict between late changes to the C++17 library and core language, which make tuple_size::value cause errors for const structured binding declarations. The problem is that LWG 2770 wants tuple_size to be complete, but sometimes have no value member, but the core language for struc