Context
Switch of PCL from boost to std smart pointers will be smoother
Expected behavior
In C++17,
static_assert(std::is_same_v<pcl::shared_ptr<int>::weak_type, pcl::weak_ptr<int>>);
static_assert(std::is_same_v<pcl::weak_ptr<int>, boost::weak_ptr<int>>);
static_assert(!std::is_same_v<pcl::weak_ptr<int>, std::weak_ptr<int>>);
Current Behavior
Compiler error on using pcl::weak_ptr<T>
Describe the solution you'd like
Addition in pcl_macros.h or make_shared.h
Context
Switch of PCL from boost to std smart pointers will be smoother
Expected behavior
In C++17,
Current Behavior
Compiler error on using
pcl::weak_ptr<T>Describe the solution you'd like
Addition in
pcl_macros.hormake_shared.h