empty_string

Procures an empty string for the given character type. Specialized for:

  • char

  • signed char

  • unsigned char

  • char8_t

  • char16_t

  • char32_t

template<typename _CharTy>
inline decltype(auto) constexpr ztd::empty_string() noexcept

Returns an array representing an empty c-style string.

Template Parameters

_CharTy – The character type.

Returns

An empty c-string.