История изменений
Исправление Uter, (текущая версия) :
Стоит смотреть в паре с http://en.cppreference.com/
И например, там (http://en.cppreference.com/w/cpp/container/vector/push_back) говорится
void push_back( const T& value ); (1)
void push_back( T&& value ); (2) (since C++11)-T must meet the requirements of CopyInsertable in order to use overload (1).
-T must meet the requirements of MoveInsertable in order to use overload (2).
Исходная версия Uter, :
Стоит смотреть в паре с http://en.cppreference.com/
И например, там (http://en.cppreference.com/w/cpp/container/vector/push_back) говорится
void push_back( const T& value ); (1) void push_back( T&& value ); (2) (since C++11)
-T must meet the requirements of CopyInsertable in order to use overload (1).
-T must meet the requirements of MoveInsertable in order to use overload (2).