9#include <boost/enable_shared_from_this.hpp>
10#include <boost/make_shared.hpp>
11#include <boost/shared_ptr.hpp>
12#include <boost/weak_ptr.hpp>
28 template <
typename T,
typename... Args>
30 return boost::make_shared<T>(std::forward<Args>(args)...);
This file contains definitions of common data structures used in traffic manager.
boost::weak_ptr< T > WeakPtr
static auto MakeShared(Args &&... args)
boost::shared_ptr< T > SharedPtr
Use this SharedPtr (boost::shared_ptr) to keep compatibility with boost::python, but it would be nice...