Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1>------ Build started: Project: test_mem, Configuration: Release Win32 ------
- 1>Compiling...
- 1>main.cpp
- 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> &'
- 1> with
- 1> [
- 1> _Elem=char,
- 1> _Traits=std::char_traits<char>,
- 1> _Ax=std::allocator<char>,
- 1> _Ty=char
- 1> ]
- 1> and
- 1> [
- 1> _Ty=char
- 1> ]
- 1> Reason: cannot convert from 'double' to 'const std::allocator<_Ty>'
- 1> with
- 1> [
- 1> _Ty=char
- 1> ]
- 1> No constructor could take the source type, or constructor overload resolution was ambiguous
- 1>Build log was saved at "file://d:\Work\tests\test_mem\test_mem\Release\BuildLog.htm"
- 1>test_mem - 1 error(s), 0 warning(s)
- ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Advertisement
Add Comment
Please, Sign In to add comment