json/include/nlohmann/detail/meta
Théo DELRIEU 80df5e8de6
meta: fix is_compatible/constructible traits (#3020)
The previous version relied on the existence of an 'iterator' type.

As mentioned in comments, this is not the proper way to do it and
causes issues with certain types (e.g. views from range-v3).

Add a 'is_range' trait that properly detects the return type of
'begin'/'end', and use it in instead.
2021-10-07 12:32:25 +02:00
..
call_std meta: fix is_compatible/constructible traits (#3020) 2021-10-07 12:32:25 +02:00
cpp_future.hpp 📄 use code from Google Abseil 2021-03-24 13:27:00 +01:00
detected.hpp Properly constrain the basic_json conversion operator 2021-07-19 11:16:27 -04:00
identity_tag.hpp Reduced code duplication, renamed tag to identity_tag. 2021-01-10 19:23:32 +01:00
is_sax.hpp 🚸 add static assertion for missing binary function in SAX interface 2020-07-17 20:41:11 +02:00
type_traits.hpp meta: fix is_compatible/constructible traits (#3020) 2021-10-07 12:32:25 +02:00
void_t.hpp 🎨 replace alternative operators (and, not, or) 2020-06-03 14:20:36 +02:00