Skip to content

Commit

Permalink
doc: updated entity.md
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Sep 16, 2024
1 parent 19da9d2 commit ef55292
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/md/entity.md
Original file line number Diff line number Diff line change
Expand Up @@ -1473,11 +1473,11 @@ the mixins. The latter can then make use of any information, which is set via
`bind`:

```cpp
base.bind(entt::forward_as_any(registry));
base.bind(registry);
```

The `bind` function accepts an `entt::any` object, that is a _typed type-erased_
value.<br/>
The `bind` function accepts any element by reference or by value and forwards it
to derived classes.<br/>
This is how a registry _passes_ itself to all pools that support signals and
also why a storage keeps sending events without requiring the registry to be
passed to it every time.
Expand Down

0 comments on commit ef55292

Please sign in to comment.