Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template <class T>
- struct remove_shared_ptr
- {
- using type = T;
- };
- template <class T>
- struct remove_shared_ptr<std::shared_ptr<T>>
- {
- using type = T;
- };
- template <class T>
- using remove_shared_ptr_t = typename remove_shared_ptr<T>::type;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement