Aikido
pointers.hpp File Reference
#include <memory>

Go to the source code of this file.

Macros

#define AIKIDO_DECLARE_POINTERS(X)
 

Macro Definition Documentation

◆ AIKIDO_DECLARE_POINTERS

#define AIKIDO_DECLARE_POINTERS (   X)
Value:
class X ; \
using X ## Ptr = std::shared_ptr< X >; \
using Const ## X ## Ptr = std::shared_ptr< const X >; \
using Weak ## X ## Ptr = std::weak_ptr< X >; \
using WeakConst ## X ## Ptr = std::weak_ptr< const X >; \
using Unique ## X ## Ptr = std::unique_ptr< X >; \
using UniqueConst ## X ## Ptr = std::unique_ptr< const X >;
aikido::distance::detail::Ptr
std::unique_ptr< DistanceMetric > Ptr
Definition: defaults-impl.hpp:18