Skip to content
Snippets Groups Projects
Commit fcd0154b authored by Jan Trávníček's avatar Jan Trávníček
Browse files

remove not needed swap specialisation

parent ecee6795
No related branches found
No related tags found
No related merge requests found
...@@ -247,11 +247,6 @@ public: ...@@ -247,11 +247,6 @@ public:
   
namespace std { namespace std {
   
template < class ... Ts >
void swap ( ext::ptr_array < Ts ... > & first, ext::ptr_array < Ts ... > & second ) {
first.swap ( second );
}
template < std::size_t I, class Type, std::size_t N > template < std::size_t I, class Type, std::size_t N >
auto & get ( ext::ptr_array < Type, N > & tpl ) { auto & get ( ext::ptr_array < Type, N > & tpl ) {
return tpl.template get < I > ( ); return tpl.template get < I > ( );
......
...@@ -185,11 +185,6 @@ bool operator >= ( const ptr_tuple < T > & first, const ptr_tuple < T > & second ...@@ -185,11 +185,6 @@ bool operator >= ( const ptr_tuple < T > & first, const ptr_tuple < T > & second
   
namespace std { namespace std {
   
template < class ... Ts >
void swap ( ext::ptr_tuple < Ts ... > & first, ext::ptr_tuple < Ts ... > & second ) {
first.swap ( second );
}
template < std::size_t I, class ... Types > template < std::size_t I, class ... Types >
auto & get ( ext::ptr_tuple < Types ... > & tpl ) { auto & get ( ext::ptr_tuple < Types ... > & tpl ) {
return tpl.template get < I > ( ); return tpl.template get < I > ( );
......
...@@ -349,19 +349,6 @@ public: ...@@ -349,19 +349,6 @@ public:
   
}; };
   
} /* namespace ext */
namespace std {
template < class ... Ts >
void swap ( ext::ptr_vector < Ts ... > & first, ext::ptr_vector < Ts ... > & second ) {
first.swap ( second );
}
} /* namespace std */
namespace ext {
template< class T > template< class T >
std::ostream& operator<<(std::ostream& out, const ext::ptr_vector < T > & ptr_vector) { std::ostream& operator<<(std::ostream& out, const ext::ptr_vector < T > & ptr_vector) {
out << "["; out << "[";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment