Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1>ClCompile:
- 1> main.cpp
- 1>h:\projects\__dummy\dummy\dummy\main.cpp(50): error C2784: '_Ty *std::begin(_Ty (&)[_Size])' : could not deduce template argument for '_Ty (&)[_Size]' from 'foo'
- 1> c:\program files\microsoft visual studio 10.0\vc\include\xutility(995) : see declaration of 'std::begin'
- 1>h:\projects\__dummy\dummy\dummy\main.cpp(50): error C2893: Failed to specialize function template '_Container::const_iterator std::begin(const _Container &)'
- 1> With the following template arguments:
- 1> 'foo'
- 1>h:\projects\__dummy\dummy\dummy\main.cpp(50): error C2893: Failed to specialize function template '_Container::iterator std::begin(_Container &)'
- 1> With the following template arguments:
- 1> 'foo'
- 1>h:\projects\__dummy\dummy\dummy\main.cpp(50): error C2784: '_InIt std::begin(const std::pair<_InIt,_InIt> &)' : could not deduce template argument for 'const std::pair<_InIt,_InIt> &' from 'foo'
- 1> c:\program files\microsoft visual studio 10.0\vc\include\utility(401) : see declaration of 'std::begin'
- 1>h:\projects\__dummy\dummy\dummy\main.cpp(50): error C2784: '_Ty *std::end(_Ty (&)[_Size])' : could not deduce template argument for '_Ty (&)[_Size]' from 'foo'
- 1> c:\program files\microsoft visual studio 10.0\vc\include\xutility(1002) : see declaration of 'std::end'
- 1>h:\projects\__dummy\dummy\dummy\main.cpp(50): error C2893: Failed to specialize function template '_Container::const_iterator std::end(const _Container &)'
- 1> With the following template arguments:
- 1> 'foo'
- 1>h:\projects\__dummy\dummy\dummy\main.cpp(50): error C2893: Failed to specialize function template '_Container::iterator std::end(_Container &)'
- 1> With the following template arguments:
- 1> 'foo'
- 1>h:\projects\__dummy\dummy\dummy\main.cpp(50): error C2784: '_InIt std::end(const std::pair<_InIt,_InIt> &)' : could not deduce template argument for 'const std::pair<_InIt,_InIt> &' from 'foo'
- 1> c:\program files\microsoft visual studio 10.0\vc\include\utility(407) : see declaration of 'std::end'
- 1>
- 1>Build FAILED.
Add Comment
Please, Sign In to add comment