traits: remove deprecated auto_ptr specialisation
This commit is contained in:
parent
c052d7df4b
commit
7df74064dc
@ -26,7 +26,6 @@ template <typename T> struct is_dereferencable<T*> : std::true_type { };
|
||||
template <typename T> struct is_dereferencable<std::unique_ptr<T>> : std::true_type { };
|
||||
template <typename T> struct is_dereferencable<std::shared_ptr<T>> : std::true_type { };
|
||||
template <typename T> struct is_dereferencable<std::weak_ptr<T>> : std::true_type { };
|
||||
template <typename T> struct is_dereferencable<std::auto_ptr<T>> : std::true_type { };
|
||||
|
||||
|
||||
template <typename T> struct dereferenced_type {
|
||||
@ -41,7 +40,6 @@ template <typename T> struct dereferenced_type {
|
||||
template <typename T> struct dereferenced_type<std::unique_ptr<T>> { typedef T type; };
|
||||
template <typename T> struct dereferenced_type<std::shared_ptr<T>> { typedef T type; };
|
||||
template <typename T> struct dereferenced_type<std::weak_ptr<T>> { typedef T type; };
|
||||
template <typename T> struct dereferenced_type<std::auto_ptr<T>> { typedef T type; };
|
||||
|
||||
|
||||
///----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user