In function 'int main()':
Line 19: error: no matching function for call to 'transform(__gnu_debug::_Safe_iterator<__gnu_norm::_Deque_iterator<double, double&, double*>, __gnu_debug_def::deque<double, std::allocator<double> > >, __gnu_debug::_Safe_iterator<__gnu_norm::_Deque_iterator<double, double&, double*>, __gnu_debug_def::deque<double, std::allocator<double> > >, __gnu_debug::_Safe_iterator<__gnu_norm::_Deque_iterator<double, double&, double*>, __gnu_debug_def::deque<double, std::allocator<double> > >, <unresolved overloaded function type>)'
compilation terminated due to -Wfatal-errors.