borisbn

vc 1

Aug 3rd, 2012
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. 1>------ Build started: Project: test_mem, Configuration: Release Win32 ------
  2. 1>Compiling...
  3. 1>main.cpp
  4. 1>.\main.cpp(15) : error C2664: 'std::basic_string<_Elem,_Traits,_Ax>::basic_string(const std::allocator<_Ty> &)' : cannot convert parameter 1 from 'double' to 'const std::allocator<_Ty> &'
  5. 1> with
  6. 1> [
  7. 1> _Elem=char,
  8. 1> _Traits=std::char_traits<char>,
  9. 1> _Ax=std::allocator<char>,
  10. 1> _Ty=char
  11. 1> ]
  12. 1> and
  13. 1> [
  14. 1> _Ty=char
  15. 1> ]
  16. 1> Reason: cannot convert from 'double' to 'const std::allocator<_Ty>'
  17. 1> with
  18. 1> [
  19. 1> _Ty=char
  20. 1> ]
  21. 1> No constructor could take the source type, or constructor overload resolution was ambiguous
  22. 1>Build log was saved at "file://d:\Work\tests\test_mem\test_mem\Release\BuildLog.htm"
  23. 1>test_mem - 1 error(s), 0 warning(s)
  24. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Advertisement
Add Comment
Please, Sign In to add comment