Closed user706 closed 6 years ago
Ugh, they renamed is_nothrow_callable
to is_nothrow_invocable
after it was already widely implemented.
(See also: a dictionary.)
How am I even going to support newer compilers without breaking older ones that have the feature macro and old naming?
How am I even going to support newer compilers without breaking older ones that have the feature macro and old naming?
hmmm... maby some macro can be used? (http://en.cppreference.com/w/cpp/preprocessor/replace#Predefined_macros)
Fixed by 1545517
@user706 Yeah, I did so for GCC following your Wandbox experimentation, but I haven't tried collecting more compatibility data. More reports are welcome.
quick fix ;) thanks
Hi,
on newer compilers, cxx_function fails to compile.
See e.g. https://wandbox.org/permlink/9xxy5Ny6X6ZeUmxI (scroll down, to see the compile output) (On the top left you'll find a window where you can select various gcc and clang compiler versions. With gcc, it only works with 6.3.0 or lower...)