Re: [PATCH] PR libstdc++/85749 constrain seed sequences for random number engines

2018-05-15 Thread Jonathan Wakely
On 15/05/18 16:36 +0100, Jonathan Wakely wrote: Constrain constructors and member functions of random number engines so that functions taking seed sequences can only be called with types that meet the seed sequence requirements. PR libstdc++/85749 * include/bits/random.h (__detai

[PATCH] PR libstdc++/85749 constrain seed sequences for random number engines

2018-05-15 Thread Jonathan Wakely
Constrain constructors and member functions of random number engines so that functions taking seed sequences can only be called with types that meet the seed sequence requirements. PR libstdc++/85749 * include/bits/random.h (__detail::__is_seed_seq): New SFINAE helper. (li