MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ store() [3/3]

template<typename T >
void MayaFlux::store ( obj)

Transfer ownership of a value to the persistent store for process lifetime.

Template Parameters
TAny movable type.
Parameters
objValue to store. Moved into a shared_ptr internally.

Definition at line 61 of file Persist.hpp.

62{
63 internal::persistent_store().push_back(
64 std::make_shared<T>(std::move(obj)));
65}

References MayaFlux::internal::persistent_store().

+ Here is the call graph for this function: