traits: remove deprecated auto_ptr specialisation

This commit is contained in:
Danny Robson 2015-04-29 17:47:37 +10:00
parent c052d7df4b
commit 7df74064dc

View File

@ -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; };
///----------------------------------------------------------------------------