13 std::ostringstream oss;
21 using delete_ptr = std::unique_ptr<T, void (*)(T*)>;
24 void no_op_deleter(T*) {}
29 template <
class T,
class U = T>
33 return noexcept(U(t));
41 return noexcept(t == t, t != t);
46 template<
class T,
class U = T>
51 return noexcept(t + u, t - u, t * u);
55 template<
class T,
class U = T>
60 return noexcept(t / u);
std::string to_string(const T &value)
Converts any printable type to a std::string.
constexpr bool has_nothrow_division()
Can types T and U be used for division without risk of an exception?
constexpr bool has_nothrow_arithmetic()
Can types T and U be used for basic arithmetic (addition, subtraction, multiplication) without risk o...
The game engine namespace.
constexpr bool is_nothrow_comparable()
Can type T be compared to itself without risk of an exception?
constexpr bool is_nothrow_convertible()
Can type T be converted to type U without risk of an exception?