LUMIERA.clone/tests/core
Ichthyostega 8c12e88fd3 C++17: fix detector for STL container iterability
the reason for the failure, as it turned out,
is that 'noexcept' is part of the function signature since C++17

And, since typically a STL container has const and non-const variants
of the begin() and end() function, the match to a member function pointer
became ambuguous, when probing with a signature without 'noexcept'

However, we deliberately want to support "any STL container like" types,
and this IMHO should include types with a possibly throwing iterator.
The rationale is, sometimes we want to expose some element *generator*
behind a container-like interface.

At this point I did an investigation if we can emulate something
in the way of a Concept -- i.e. rather than checking for the presence
of some functions on the interface, better try to cover the necessary
behaviour, like in a type class.

Unfortunately, while doable, this turns out to become quite technical;
and this highlights why the C++20 concepts are such an important addition
to the language.

So for the time being, we'll amend the existing solution
and look ahead to C++20
2020-02-21 18:57:49 +01:00
..
application Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00
steam C++17: fix detector for STL container iterability 2020-02-21 18:57:49 +01:00
vault Library: settle long standing confusion regarding time border conditions 2018-12-10 00:12:43 +01:00
DIR_INFO re-arrange tests according to layer structure 2013-01-07 05:43:01 +01:00