LUMIERA.clone/tests/core/steam
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
..
asset Timehandling: choose safer representation for fractional seconds (closes #939) 2020-02-17 03:13:36 +01:00
control Functions-Commands: discard the ability to compare functors for equivalence (closes #294) 2019-06-23 19:45:30 +02:00
engine C++17: fix detector for STL container iterability 2020-02-21 18:57:49 +01:00
mobject Global-Layer-Renaming: fix remaining textual usages and IDs in the code 2018-12-10 00:09:56 +01:00
play Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00