Re: [PATCH] PR72792 PR72793 relax requirements on rebind members

2017-01-20 Thread Jonathan Wakely
On 20/01/17 02:37 +, Jonathan Wakely wrote: I misread the specifications for pointer_traits::rebind and allocator_traits::rebind_alloc and was requiring them to be valid for any specialization of the class templates. In fact they're only needed if instantiated. This fixes the problem.

[PATCH] PR72792 PR72793 relax requirements on rebind members

2017-01-19 Thread Jonathan Wakely
I misread the specifications for pointer_traits::rebind and allocator_traits::rebind_alloc and was requiring them to be valid for any specialization of the class templates. In fact they're only needed if instantiated. This fixes the problem. PR libstdc++/72792 PR libstdc++/72793