MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / convertUnstreamable

Function convertUnstreamable

unittests/catch.hpp:773–780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

771
772 template<typename T>
773 typename std::enable_if<!std::is_enum<T>::value, std::string>::type convertUnstreamable( T const& value ) {
774#if !defined(CATCH_CONFIG_FALLBACK_STRINGIFIER)
775 (void)value;
776 return Detail::unprintableString;
777#else
778 return CATCH_CONFIG_FALLBACK_STRINGIFIER(value);
779#endif
780 }
781 template<typename T>
782 typename std::enable_if<std::is_enum<T>::value, std::string>::type convertUnstreamable( T const& value ) {
783 return convertUnknownEnumToString( value );

Callers 1

convertMethod · 0.85

Calls 1

Tested by

no test coverage detected