|
sandbox
|
Public Types | |
| using | value_type = Type |
| using | size_type = std::size_t |
| using | handle_type = resource_handle< value_type > |
Public Member Functions | |
| resource_storage (const resource_storage &other)=delete | |
| auto | operator= (const resource_storage &other) -> resource_storage &=delete |
|
template<typename... Args> requires (std::is_constructible_v<value_type, Args...>) | |
| auto | emplace (Args &&... args) -> handle_type |
| auto | get (const handle_type &handle) -> value_type & |
| auto | get (const handle_type &handle) const -> const value_type & |
| auto | remove (const handle_type &handle) -> void |
| auto | clear () -> void |