[go: up one dir, main page]

Skip to content

Exception when iterating over multiple non-existent components

When constructing a view iterating over multiple components - none of which exist, an exception is thrown

class One{};
class Two{};

stch::Scene registry;

auto view = registry.view<One, Two>();

exception thrown:

terminate called after throwing an instance of 'std::out_of_range'
  what():  _Map_base::at
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information