lib.cpp 321 B

12345678910
  1. #include <entt/core/attribute.h>
  2. #include "../types.h"
  3. ENTT_API const void *filter(const view_type &view) {
  4. // forces the creation of all symbols for the view type
  5. [[maybe_unused]] const view_type other{};
  6. // unset filter fallback should not be accessible across boundaries
  7. return view.storage<1u>();
  8. }