@@ -34,3 +34,4 @@
* registry::each to iterate all components of an entity
* named types: almost-stable index optimization for direct access to pools, no more linear searches
- can implicitly generate types for meta benefit from a similar approach?
+* detect family on a macro based model
@@ -127,13 +127,9 @@ here is a workaround in the form of a macro:
```cpp
#if defined(_MSC_VER)
- #define HS(str)\
- __pragma(warning(push))\
- __pragma(warning(disable:4307))\
- entt::hashed_string{str}\
- __pragma(warning(pop))
+#define HS(str) __pragma(warning(suppress:4307)) entt::hashed_string{str}\
#else
- #define HS(str) entt::hashed_string{str}
+#define HS(str) entt::hashed_string{str}
#endif
```