Function operator""_hws

Synopsis

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

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

Description

User defined literal for hashed wstrings.

Parameters

str - The literal without its suffix.

Returns
A properly initialized hashed wstring.

Source

Lines 258-260 in src/entt/core/hashed_string.hpp.

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





Add Discussion

Log in to comment