Blender V4.3
intern::memutil::internal::AllocStringStorageContainer Class Reference

#include <MEM_alloc_string_storage.hh>

Public Member Functions

template<typename keyT , template< typename > typename hashT>
std::any & ensure_storage (const std::string &storage_identifier)
 

Detailed Description

The main container for all #AllocStringStorage.

Definition at line 73 of file MEM_alloc_string_storage.hh.

Member Function Documentation

◆ ensure_storage()

template<typename keyT , template< typename > typename hashT>
std::any & intern::memutil::internal::AllocStringStorageContainer::ensure_storage ( const std::string & storage_identifier)
inline

Create if necessary, and return the #AllocStringStorage for the given storage_identifier.

The template arguments allow to define the type of key used for the mapping to allocation strings.

Definition at line 84 of file MEM_alloc_string_storage.hh.

Referenced by intern::memutil::alloc_string_storage_get().


The documentation for this class was generated from the following file: