DAW JSON Link
Namespaces | Typedefs | Functions | Variables
DAW_JSON_NS::json_details::to_strings Namespace Reference

Namespaces

 to_string_test
 

Typedefs

template<typename T >
using has_to_string = daw::is_detected< to_string_test::to_string_result, T >
 

Functions

template<typename T >
auto to_string (std::optional< T > const &v) -> decltype(to_string(*v))
 

Variables

template<typename T >
constexpr bool has_to_string_v = has_to_string<T>::value
 

Typedef Documentation

◆ has_to_string

template<typename T >
using DAW_JSON_NS::json_details::to_strings::has_to_string = typedef daw::is_detected<to_string_test::to_string_result, T>

Function Documentation

◆ to_string()

template<typename T >
auto DAW_JSON_NS::json_details::to_strings::to_string ( std::optional< T > const &  v) -> decltype( to_string( *v ) )

Variable Documentation

◆ has_to_string_v

template<typename T >
constexpr bool DAW_JSON_NS::json_details::to_strings::has_to_string_v = has_to_string<T>::value
inlineconstexpr