unnamed unused parameters

This commit is contained in:
joaquintides
2022-10-04 13:46:27 +02:00
parent 06512a00e1
commit e69bb3aece

View File

@ -836,19 +836,19 @@ template<bool B,typename T,typename std::enable_if<B>::type* =nullptr>
void copy_assign_if(T& x,const T& y){x=y;}
template<bool B,typename T,typename std::enable_if<!B>::type* =nullptr>
void copy_assign_if(T& x,const T& y){}
void copy_assign_if(T&,const T&){}
template<bool B,typename T,typename std::enable_if<B>::type* =nullptr>
void move_assign_if(T& x,T& y){x=std::move(y);}
template<bool B,typename T,typename std::enable_if<!B>::type* =nullptr>
void move_assign_if(T& x,T& y){}
void move_assign_if(T&,T&){}
template<bool B,typename T,typename std::enable_if<B>::type* =nullptr>
void swap_if(T& x,T& y){using std::swap; swap(x,y);}
template<bool B,typename T,typename std::enable_if<!B>::type* =nullptr>
void swap_if(T& x,T& y){}
void swap_if(T&,T&){}
#if defined(BOOST_GCC)
/* GCC's -Wshadow triggers at scenarios like this: