Advertisement
chzchz

Untitled

Apr 2nd, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.50 KB | None | 0 0
  1. ====================[ Build | graduation | Debug ]==============================
  2. /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build "/Users/chzchz/Documents/CLion Projects/Yellow/week 6/graduation/cmake-build-debug" --target graduation -- -j 2
  3. Scanning dependencies of target graduation
  4. [ 33%] Building CXX object CMakeFiles/graduation.dir/test_runner.cpp.o
  5. [ 33%] Building CXX object CMakeFiles/graduation.dir/main.cpp.o
  6. In file included from /Users/chzchz/Documents/CLion Projects/Yellow/week 6/graduation/main.cpp:5:
  7. /Users/chzchz/Documents/CLion Projects/Yellow/week 6/graduation/test_runner.h:66:32: error: invalid operands to binary expression ('basic_ostream<char, std::__1::char_traits<char> >' and 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >')
  8. os << "Assertion failed: " << t << " != " << u
  9. ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
  10. /Users/chzchz/Documents/CLion Projects/Yellow/week 6/graduation/main.cpp:90:5: note: in instantiation of function template specialization 'AssertEqual<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >, std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > >' requested here
  11. AssertEqual(events,
  12. ^
  13. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:218:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'const void *' for 1st argument; take the address of the argument with &
  14. basic_ostream& operator<<(const void* __p);
  15. ^
  16. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/type_traits:4830:3: note: candidate function template not viable: no known conversion from 'basic_ostream<char, std::__1::char_traits<char> >' to 'std::byte' for 1st argument
  17. operator<< (byte __lhs, _Integer __shift) noexcept
  18. ^
  19. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:194:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'std::__1::basic_ostream<char> &(*)(std::__1::basic_ostream<char> &)' for 1st argument
  20. basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&))
  21. ^
  22. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:198:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'basic_ios<std::__1::basic_ostream<char, std::__1::char_traits<char> >::char_type, std::__1::basic_ostream<char, std::__1::char_traits<char> >::traits_type> &(*)(basic_ios<std::__1::basic_ostream<char, std::__1::char_traits<char> >::char_type, std::__1::basic_ostream<char, std::__1::char_traits<char> >::traits_type> &)' (aka 'basic_ios<char, std::__1::char_traits<char> > &(*)(basic_ios<char, std::__1::char_traits<char> > &)') for 1st argument
  23. basic_ostream& operator<<(basic_ios<char_type, traits_type>&
  24. ^
  25. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:203:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'std::__1::ios_base &(*)(std::__1::ios_base &)' for 1st argument
  26. basic_ostream& operator<<(ios_base& (*__pf)(ios_base&))
  27. ^
  28. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:206:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'bool' for 1st argument
  29. basic_ostream& operator<<(bool __n);
  30. ^
  31. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:207:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'short' for 1st argument
  32. basic_ostream& operator<<(short __n);
  33. ^
  34. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:208:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'unsigned short' for 1st argument
  35. basic_ostream& operator<<(unsigned short __n);
  36. ^
  37. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:209:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'int' for 1st argument
  38. basic_ostream& operator<<(int __n);
  39. ^
  40. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:210:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'unsigned int' for 1st argument
  41. basic_ostream& operator<<(unsigned int __n);
  42. ^
  43. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:211:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'long' for 1st argument
  44. basic_ostream& operator<<(long __n);
  45. ^
  46. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:212:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'unsigned long' for 1st argument
  47. basic_ostream& operator<<(unsigned long __n);
  48. ^
  49. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:213:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'long long' for 1st argument
  50. basic_ostream& operator<<(long long __n);
  51. ^
  52. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:214:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'unsigned long long' for 1st argument
  53. basic_ostream& operator<<(unsigned long long __n);
  54. ^
  55. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:215:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'float' for 1st argument
  56. basic_ostream& operator<<(float __f);
  57. ^
  58. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:216:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'double' for 1st argument
  59. basic_ostream& operator<<(double __f);
  60. ^
  61. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:217:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'long double' for 1st argument
  62. basic_ostream& operator<<(long double __f);
  63. ^
  64. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:219:20: note: candidate function not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'basic_streambuf<std::__1::basic_ostream<char, std::__1::char_traits<char> >::char_type, std::__1::basic_ostream<char, std::__1::char_traits<char> >::traits_type> *' (aka 'basic_streambuf<char, std::__1::char_traits<char> > *') for 1st argument
  65. basic_ostream& operator<<(basic_streambuf<char_type, traits_type>* __sb);
  66. ^
  67. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:755:1: note: candidate function template not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'char' for 2nd argument
  68. operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn)
  69. ^
  70. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:788:1: note: candidate function template not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'char' for 2nd argument
  71. operator<<(basic_ostream<char, _Traits>& __os, char __c)
  72. ^
  73. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:795:1: note: candidate function template not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'signed char' for 2nd argument
  74. operator<<(basic_ostream<char, _Traits>& __os, signed char __c)
  75. ^
  76. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:802:1: note: candidate function template not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'unsigned char' for 2nd argument
  77. operator<<(basic_ostream<char, _Traits>& __os, unsigned char __c)
  78. ^
  79. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:816:1: note: candidate function template not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'const char *' for 2nd argument
  80. operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn)
  81. ^
  82. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:862:1: note: candidate function template not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'const char *' for 2nd argument
  83. operator<<(basic_ostream<char, _Traits>& __os, const char* __str)
  84. ^
  85. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:869:1: note: candidate function template not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'const signed char *' for 2nd argument
  86. operator<<(basic_ostream<char, _Traits>& __os, const signed char* __str)
  87. ^
  88. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:877:1: note: candidate function template not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'const unsigned char *' for 2nd argument
  89. operator<<(basic_ostream<char, _Traits>& __os, const unsigned char* __str)
  90. ^
  91. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:1061:1: note: candidate function template not viable: no known conversion from 'const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >' to 'const std::__1::error_code' for 2nd argument
  92. operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec)
  93. ^
  94. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:748:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >')
  95. operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c)
  96. ^
  97. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:809:1: note: candidate template ignored: could not match 'const _CharT *' against 'std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >'
  98. operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str)
  99. ^
  100. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:1044:1: note: candidate template ignored: could not match 'basic_string' against 'vector'
  101. operator<<(basic_ostream<_CharT, _Traits>& __os,
  102. ^
  103. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:1069:1: note: candidate template ignored: could not match 'shared_ptr' against 'vector'
  104. operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p)
  105. ^
  106. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:1081:1: note: candidate template ignored: could not match 'unique_ptr' against 'vector'
  107. operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p)
  108. ^
  109. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:1088:1: note: candidate template ignored: could not match 'bitset' against 'vector'
  110. operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x)
  111. ^
  112. /Users/chzchz/Documents/CLion Projects/Yellow/week 6/graduation/test_runner.h:35:10: note: candidate template ignored: could not match 'set' against 'vector'
  113. ostream &operator<<(ostream &os, const set<T> &s) {
  114. ^
  115. /Users/chzchz/Documents/CLion Projects/Yellow/week 6/graduation/test_runner.h:49:10: note: candidate template ignored: could not match 'map' against 'vector'
  116. ostream &operator<<(ostream &os, const map<K, V> &m) {
  117. ^
  118. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:1034:1: note: candidate template ignored: requirement '!is_lvalue_reference<basic_ostream<char> &>::value' was not satisfied [with _Stream = std::__1::basic_ostream<char> &, _Tp = std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >]
  119. operator<<(_Stream&& __os, const _Tp& __x)
  120. ^
  121. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:1052:1: note: candidate template ignored: could not match 'basic_string_view' against 'vector'
  122. operator<<(basic_ostream<_CharT, _Traits>& __os,
  123. ^
  124. 1 error generated.
  125. make[3]: *** [CMakeFiles/graduation.dir/main.cpp.o] Error 1
  126. make[2]: *** [CMakeFiles/graduation.dir/all] Error 2
  127. make[1]: *** [CMakeFiles/graduation.dir/rule] Error 2
  128. make: *** [graduation] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement