A reference counting ptr that is auto-deleted as the last copy leaves scope. More...
#include "RCconfig.h"#include "Types.h"#include "Macros.h"#include "Errors.h"#include <iostream>#include <atomic>#include "PtrSharedCommon.h"#include "PtrCommon.h"Go to the source code of this file.
Classes | |
| class | RC::APtr< T > |
| A reference counting ptr that auto-deletes what it points to when the last copy leaves scope or is otherwise destructed. More... | |
Namespaces | |
| RC | |
Functions | |
| template<class T > | |
| std::ostream & | RC::operator<< (std::ostream &out, APtr< T > obj) |
| A convenience stream output for displaying the enclosed object. | |
| template<class T , class... Args> | |
| APtr< T > | RC::MakeAPtr (Args &&... args) |
| Create a new APtr<T> constructed with the given arguments. | |
A reference counting ptr that is auto-deleted as the last copy leaves scope.
1.9.1