sisi4s
Loading...
Searching...
No Matches
SharedPointer.hpp File Reference
#include <memory>
Include dependency graph for SharedPointer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PTR(TYPE)   std::shared_ptr<TYPE>
 
#define WEAK_PTR(TYPE)   std::weak_ptr<TYPE>
 
#define NEW(TYPE, ...)   std::make_shared<TYPE>(__VA_ARGS__)
 

Macro Definition Documentation

◆ NEW

#define NEW (   TYPE,
  ... 
)    std::make_shared<TYPE>(__VA_ARGS__)

◆ PTR

#define PTR (   TYPE)    std::shared_ptr<TYPE>

◆ WEAK_PTR

#define WEAK_PTR (   TYPE)    std::weak_ptr<TYPE>