lib.cpp 337 B

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