Go to the documentation of this file. 1 #ifndef AIKIDO_COMMON_POINTERS_HPP_
2 #define AIKIDO_COMMON_POINTERS_HPP_
21 #define AIKIDO_DECLARE_POINTERS(X) \
23 using X ## Ptr = std::shared_ptr< X >; \
24 using Const ## X ## Ptr = std::shared_ptr< const X >; \
25 using Weak ## X ## Ptr = std::weak_ptr< X >; \
26 using WeakConst ## X ## Ptr = std::weak_ptr< const X >; \
27 using Unique ## X ## Ptr = std::unique_ptr< X >; \
28 using UniqueConst ## X ## Ptr = std::unique_ptr< const X >;
32 #endif // AIKIDO_COMMON_POINTERS_HPP_