Guest User

Untitled

a guest
Apr 21st, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. 1>ClCompile:
  2. 1> main.cpp
  3. 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'
  4. 1> c:\program files\microsoft visual studio 10.0\vc\include\xutility(995) : see declaration of 'std::begin'
  5. 1>h:\projects\__dummy\dummy\dummy\main.cpp(50): error C2893: Failed to specialize function template '_Container::const_iterator std::begin(const _Container &)'
  6. 1> With the following template arguments:
  7. 1> 'foo'
  8. 1>h:\projects\__dummy\dummy\dummy\main.cpp(50): error C2893: Failed to specialize function template '_Container::iterator std::begin(_Container &)'
  9. 1> With the following template arguments:
  10. 1> 'foo'
  11. 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'
  12. 1> c:\program files\microsoft visual studio 10.0\vc\include\utility(401) : see declaration of 'std::begin'
  13. 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'
  14. 1> c:\program files\microsoft visual studio 10.0\vc\include\xutility(1002) : see declaration of 'std::end'
  15. 1>h:\projects\__dummy\dummy\dummy\main.cpp(50): error C2893: Failed to specialize function template '_Container::const_iterator std::end(const _Container &)'
  16. 1> With the following template arguments:
  17. 1> 'foo'
  18. 1>h:\projects\__dummy\dummy\dummy\main.cpp(50): error C2893: Failed to specialize function template '_Container::iterator std::end(_Container &)'
  19. 1> With the following template arguments:
  20. 1> 'foo'
  21. 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'
  22. 1> c:\program files\microsoft visual studio 10.0\vc\include\utility(407) : see declaration of 'std::end'
  23. 1>
  24. 1>Build FAILED.
Add Comment
Please, Sign In to add comment