Function operator""_hws

Synopsis

#include <src/entt/core/hashed_string.hpp>

constexpr hashed_wstring operator""_hws(const wchar_t *str, std::size_t)

Description

User defined literal for hashed wstrings.

Parameters

str - The literal without its suffix.

Returns
A properly initialized hashed wstring.

Source

Lines 325-327 in src/entt/core/hashed_string.hpp.

[[nodiscard]] constexpr hashed_wstring operator"" _hws(const wchar_t *str, std::size_t) ENTT_NOEXCEPT {
    return hashed_wstring{str};
}





Add Discussion

Log in to comment