hashed_string: literals are now enclosed within entt::literals, ENTT_HS_SUFFIX and ENTT_HWS_SUFFIX no longer exist (close #590)

This commit is contained in:
Michele Caini
2020-11-17 08:25:25 +01:00
parent 9744a3745c
commit 90606bd410
24 changed files with 186 additions and 30 deletions

View File

@@ -10,6 +10,8 @@ position create_position(int x, int y) {
}
void set_up() {
using namespace entt::literals;
entt::meta<position>()
.type("position"_hs)
.ctor<&create_position>()