Aeon Engine c550894
AeonGames Open Source Game Engine
Loading...
Searching...
No Matches
AeonGames::to_string_namespace Namespace Reference

Internal namespace for ADL-based to_string resolution. More...

Functions

template<class T>
std::string convert_to_string (T &&t)
 Convert a value to string via ADL lookup.

Detailed Description

Internal namespace for ADL-based to_string resolution.

See also
https://stackoverflow.com/questions/33399594/making-a-user-defined-class-stdto-stringable

Function Documentation

◆ convert_to_string()

template<class T>
std::string AeonGames::to_string_namespace::convert_to_string ( T && t)

Convert a value to string via ADL lookup.

Template Parameters
TThe type of the value.
Parameters
tThe value to convert.
Returns
The string representation.

Definition at line 37 of file ToString.hpp.