In file included from /usr/include/c++/4.9/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.9/bits/char_traits.h:39,
from /usr/include/c++/4.9/ios:40,
from /usr/include/c++/4.9/ostream:38,
from /usr/include/c++/4.9/iostream:39,
from 1:
/usr/include/c++/4.9/bits/stl_pair.h: In instantiation of 'struct std::pair<const char, double*(double, double)>':
14:5: required from here
/usr/include/c++/4.9/bits/stl_pair.h:102:11: error: field 'std::pair<const char, double*(double, double)>::second' invalidly declared function type
_T2 second; /// @c second is a copy of the second object
^
In function 'int main()':
14:5: error: no matching function for call to 'std::map<char, double*(double, double)>::map(<brace-enclosed initializer list>)'
14:5: note: candidates are:
In file included from /usr/include/c++/4.9/map:61:0,
from 2:
/usr/include/c++/4.9/bits/stl_map.h:270:9: note: template<class _InputIterator> std::map<_Key, _Tp, _Compare, _Alloc>::map(_InputIterator, _InputIterator, const _Compare&, const allocator_type&)
map(_InputIterator __first, _InputIterator __last,
^
/usr/include/c++/4.9/bits/stl_map.h:270:9: note: template argument deduction/substitution failed:
14:5: note: cannot convert '{'*', std::multiplies<void>{}}' (type '<brace-enclosed initializer list>') to type 'const std::less<char>&' |