MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
Lifetimes

Abstractions to help manage complicated or non-trivial lifetimes Note: If you find yourself here, step back and rethink your problem. More...

Classes

struct  mtcore::Rc< T >
 Thread-local reference counted pointer Not thread safe, don't share Reference counting for cleaning up memory Supports weak references as well. More...
 
struct  mtcore::WeakRc< T >
 Thread-local weak reference counted pointer Not thread safe, don't share Does not hold lifetime. More...
 
struct  mtcore::thread::Arc< T >
 Automic Reference Count. More...
 
struct  mtcore::thread::WeakArc< T >
 Weak Automic Reference Count. More...
 

Detailed Description

Abstractions to help manage complicated or non-trivial lifetimes Note: If you find yourself here, step back and rethink your problem.

There's usually a better way, or you may be solving the wrong problem