30 Nov
2019
30 Nov
'19
12:06 a.m.
On Wed, Nov 27, 2019 at 11:56 AM Zach Laine via Boost-users < boost-users@lists.boost.org> wrote:
This appears quite wrong, even if Augustin is the one behind it. Did he say why he expects that to work? It looks like it accepts doubles as iterators, for instance.
// Because k-ballo said so template<class T> using is_input_iterator = std::integral_constant
;
This is presumably trying to follow [container.requirements.general]p17: The extent to which an implementation determines that a type cannot be an
input iterator is unspecified, except that as a minimum integral types shall not qualify as input iterators.