How can I move the element into aux_list
using STL algorithm module?
std::remove_copy_if( list.begin( ), list.end( ), std::back_inserter( aux_list ),
[]( const value_type& item_ptr )
{
return !item_ptr->is_valid( );
} );