| 2418 | |
| 2419 | template<typename value_type> |
| 2420 | struct is_valid_json_value { |
| 2421 | static constexpr auto value = |
| 2422 | std::is_default_constructible<value_type>::value && |
| 2423 | std::is_constructible<value_type, const value_type&>::value && // a more generic is_copy_constructible |
| 2424 | std::is_move_constructible<value_type>::value && std::is_assignable<value_type, value_type>::value && |
| 2425 | std::is_copy_assignable<value_type>::value && std::is_move_assignable<value_type>::value; |
| 2426 | // TODO(prince-chrismc): Stream operators |
| 2427 | }; |
| 2428 | |
| 2429 | // https://stackoverflow.com/a/53967057/8480874 |
| 2430 | template<typename T, typename = void> |
nothing calls this directly
no outgoing calls
no test coverage detected