Advertisement
yumetodo

20201026_range-v3_test_build_fail_log

Oct 26th, 2020
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.45 KB | None | 0 0
  1. $ninja -C build
  2. ninja: Entering directory `build'
  3. [179/461] Building CXX object test/algorithm/CMakeFiles/alg.any_of.dir/any_of.cpp.obj
  4. FAILED: test/algorithm/CMakeFiles/alg.any_of.dir/any_of.cpp.obj
  5. C:\msys64\mingw64\bin\c++.exe -I../include -O3 -DNDEBUG -std=c++17 -Wall -Wextra -Werror -fdiagnostics-show-template-tree -ftemplate-backtrace-limit=0 -fomit-frame-pointer -Ofast -fstrict-aliasing -ffast-math -fsized-deallocation -march=native -mtune=native -DRANGES_CXX_ALIGNED_NEW=0 -pedantic -pedantic-errors -Wno-padded -Wno-old-style-cast -Wno-noexcept-type -MD -MT test/algorithm/CMakeFiles/alg.any_of.dir/any_of.cpp.obj -MF test\algorithm\CMakeFiles\alg.any_of.dir\any_of.cpp.obj.d -o test/algorithm/CMakeFiles/alg.any_of.dir/any_of.cpp.obj -c ../test/algorithm/any_of.cpp
  6. In file included from ../test/algorithm/any_of.cpp:16:
  7. ../test/algorithm/any_of.cpp: In function 'int main()':
  8. ../test/algorithm/any_of.cpp:49:63: error: no match for call to '(const ranges::any_of_fn) (std::vector<S>::iterator, std::vector<S>::iterator, bool (S::*)() const)'
  9. 49 | CHECK(ranges::any_of(all_true.begin(), all_true.end(), &S::p));
  10. | ^
  11. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  12. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  13. | ^~~~~~~~~~~
  14. ../test/algorithm/any_of.cpp:49:3: note: in expansion of macro 'CHECK'
  15. 49 | CHECK(ranges::any_of(all_true.begin(), all_true.end(), &S::p));
  16. | ^~~~~
  17. In file included from ../include/range/v3/range_fwd.hpp:25,
  18. from ../include/range/v3/iterator/common_iterator.hpp:25,
  19. from ../include/range/v3/core.hpp:17,
  20. from ../test/algorithm/any_of.cpp:14:
  21. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class I, class S, class F, class P, bool CPP_true, typename std::enable_if<(input_iterator<I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(sentinel_for<S, I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P>::apply<I> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(I, S, F, P) const'
  22. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  23. | ^~~~~~~~
  24. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  25. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  26. | ^~~~~~~~~~~
  27. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  28. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  29. | ^~~~~~~~
  30. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  31. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  32. | ^~~~~~~~~~~
  33. In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
  34. from ../include/range/v3/core.hpp:17,
  35. from ../test/algorithm/any_of.cpp:14:
  36. ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
  37. 300 | int> = 0> \
  38. | ^
  39. ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
  40. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  41. | ^
  42. ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
  43. 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
  44. | ^~~~~~~~~~~
  45. ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
  46. 289 | CPP_PP_CAT( \
  47. | ^~~~~~~~~~
  48. ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
  49. 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
  50. | ^~~~~~~~~~~~~~~~~~~~~~~~
  51. ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
  52. 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
  53. | ^~~~~~~~~~~~~~~~~
  54. ../include/range/v3/algorithm/any_of.hpp:39:9: note: in expansion of macro 'template'
  55. 39 | template(typename I, typename S, typename F, typename P = identity)(
  56. | ^~~~~~~~
  57. In file included from ../include/range/v3/range_fwd.hpp:25,
  58. from ../include/range/v3/iterator/common_iterator.hpp:25,
  59. from ../include/range/v3/core.hpp:17,
  60. from ../test/algorithm/any_of.cpp:14:
  61. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class Rng, class F, class P, bool CPP_true, typename std::enable_if<(input_range<Rng> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P1>::apply<decltype (ranges::_::begin(declval<Rng&>()))> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(Rng&&, F, P) const'
  62. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  63. | ^~~~~~~~
  64. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  65. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  66. | ^~~~~~~~~~~
  67. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  68. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  69. | ^~~~~~~~
  70. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  71. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  72. | ^~~~~~~~~~~
  73. In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
  74. from ../include/range/v3/core.hpp:17,
  75. from ../test/algorithm/any_of.cpp:14:
  76. ../include/concepts/concepts.hpp:332:35: error: no type named 'type' in 'struct std::enable_if<false, int>'
  77. 332 | && CPP_BOOL(CPP_true), int> = 0, std::enable_if_t<
  78. | ^
  79. ../include/concepts/concepts.hpp:66:35: note: in definition of macro 'CPP_PP_CAT_'
  80. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  81. | ^~~~~~~~~~~
  82. ../include/concepts/concepts.hpp:298:9: note: in expansion of macro 'CPP_PP_CAT'
  83. 298 | CPP_PP_CAT(CPP_TEMPLATE_SFINAE_AUX_3_, __VA_ARGS__) && \
  84. | ^~~~~~~~~~
  85. ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
  86. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  87. | ^
  88. ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
  89. 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
  90. | ^~~~~~~~~~~~~~~~~~~~~~~~
  91. ../include/concepts/concepts.hpp:195:17: note: in expansion of macro 'CPP_and_sfinae'
  92. 195 | #define CPP_and CPP_and_sfinae
  93. | ^~~~~~~~~~~~~~
  94. ../include/range/v3/detail/prologue.hpp:37:13: note: in expansion of macro 'CPP_and'
  95. 37 | #define AND CPP_and
  96. | ^~~~~~~
  97. ../include/range/v3/algorithm/any_of.hpp:54:39: note: in expansion of macro 'AND'
  98. 54 | requires input_range<Rng> AND
  99. | ^~~
  100. In file included from ../test/algorithm/any_of.cpp:16:
  101. ../test/algorithm/any_of.cpp:50:63: error: no match for call to '(const ranges::any_of_fn) (std::vector<S>::iterator, std::vector<S>::iterator, bool (S::*)() const)'
  102. 50 | CHECK(ranges::any_of(one_true.begin(), one_true.end(), &S::p));
  103. | ^
  104. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  105. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  106. | ^~~~~~~~~~~
  107. ../test/algorithm/any_of.cpp:50:3: note: in expansion of macro 'CHECK'
  108. 50 | CHECK(ranges::any_of(one_true.begin(), one_true.end(), &S::p));
  109. | ^~~~~
  110. In file included from ../include/range/v3/range_fwd.hpp:25,
  111. from ../include/range/v3/iterator/common_iterator.hpp:25,
  112. from ../include/range/v3/core.hpp:17,
  113. from ../test/algorithm/any_of.cpp:14:
  114. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class I, class S, class F, class P, bool CPP_true, typename std::enable_if<(input_iterator<I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(sentinel_for<S, I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P>::apply<I> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(I, S, F, P) const'
  115. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  116. | ^~~~~~~~
  117. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  118. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  119. | ^~~~~~~~~~~
  120. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  121. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  122. | ^~~~~~~~
  123. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  124. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  125. | ^~~~~~~~~~~
  126. In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
  127. from ../include/range/v3/core.hpp:17,
  128. from ../test/algorithm/any_of.cpp:14:
  129. ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
  130. 300 | int> = 0> \
  131. | ^
  132. ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
  133. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  134. | ^
  135. ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
  136. 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
  137. | ^~~~~~~~~~~
  138. ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
  139. 289 | CPP_PP_CAT( \
  140. | ^~~~~~~~~~
  141. ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
  142. 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
  143. | ^~~~~~~~~~~~~~~~~~~~~~~~
  144. ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
  145. 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
  146. | ^~~~~~~~~~~~~~~~~
  147. ../include/range/v3/algorithm/any_of.hpp:39:9: note: in expansion of macro 'template'
  148. 39 | template(typename I, typename S, typename F, typename P = identity)(
  149. | ^~~~~~~~
  150. In file included from ../include/range/v3/range_fwd.hpp:25,
  151. from ../include/range/v3/iterator/common_iterator.hpp:25,
  152. from ../include/range/v3/core.hpp:17,
  153. from ../test/algorithm/any_of.cpp:14:
  154. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class Rng, class F, class P, bool CPP_true, typename std::enable_if<(input_range<Rng> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P1>::apply<decltype (ranges::_::begin(declval<Rng&>()))> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(Rng&&, F, P) const'
  155. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  156. | ^~~~~~~~
  157. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  158. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  159. | ^~~~~~~~~~~
  160. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  161. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  162. | ^~~~~~~~
  163. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  164. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  165. | ^~~~~~~~~~~
  166. In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
  167. from ../include/range/v3/core.hpp:17,
  168. from ../test/algorithm/any_of.cpp:14:
  169. ../include/concepts/concepts.hpp:332:35: error: no type named 'type' in 'struct std::enable_if<false, int>'
  170. 332 | && CPP_BOOL(CPP_true), int> = 0, std::enable_if_t<
  171. | ^
  172. ../include/concepts/concepts.hpp:66:35: note: in definition of macro 'CPP_PP_CAT_'
  173. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  174. | ^~~~~~~~~~~
  175. ../include/concepts/concepts.hpp:298:9: note: in expansion of macro 'CPP_PP_CAT'
  176. 298 | CPP_PP_CAT(CPP_TEMPLATE_SFINAE_AUX_3_, __VA_ARGS__) && \
  177. | ^~~~~~~~~~
  178. ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
  179. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  180. | ^
  181. ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
  182. 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
  183. | ^~~~~~~~~~~~~~~~~~~~~~~~
  184. ../include/concepts/concepts.hpp:195:17: note: in expansion of macro 'CPP_and_sfinae'
  185. 195 | #define CPP_and CPP_and_sfinae
  186. | ^~~~~~~~~~~~~~
  187. ../include/range/v3/detail/prologue.hpp:37:13: note: in expansion of macro 'CPP_and'
  188. 37 | #define AND CPP_and
  189. | ^~~~~~~
  190. ../include/range/v3/algorithm/any_of.hpp:54:39: note: in expansion of macro 'AND'
  191. 54 | requires input_range<Rng> AND
  192. | ^~~
  193. In file included from ../test/algorithm/any_of.cpp:16:
  194. ../test/algorithm/any_of.cpp:51:66: error: no match for call to '(const ranges::any_of_fn) (std::vector<S>::iterator, std::vector<S>::iterator, bool (S::*)() const)'
  195. 51 | CHECK(!ranges::any_of(none_true.begin(), none_true.end(), &S::p));
  196. | ^
  197. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  198. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  199. | ^~~~~~~~~~~
  200. ../test/algorithm/any_of.cpp:51:3: note: in expansion of macro 'CHECK'
  201. 51 | CHECK(!ranges::any_of(none_true.begin(), none_true.end(), &S::p));
  202. | ^~~~~
  203. In file included from ../include/range/v3/range_fwd.hpp:25,
  204. from ../include/range/v3/iterator/common_iterator.hpp:25,
  205. from ../include/range/v3/core.hpp:17,
  206. from ../test/algorithm/any_of.cpp:14:
  207. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class I, class S, class F, class P, bool CPP_true, typename std::enable_if<(input_iterator<I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(sentinel_for<S, I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P>::apply<I> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(I, S, F, P) const'
  208. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  209. | ^~~~~~~~
  210. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  211. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  212. | ^~~~~~~~~~~
  213. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  214. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  215. | ^~~~~~~~
  216. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  217. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  218. | ^~~~~~~~~~~
  219. In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
  220. from ../include/range/v3/core.hpp:17,
  221. from ../test/algorithm/any_of.cpp:14:
  222. ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
  223. 300 | int> = 0> \
  224. | ^
  225. ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
  226. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  227. | ^
  228. ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
  229. 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
  230. | ^~~~~~~~~~~
  231. ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
  232. 289 | CPP_PP_CAT( \
  233. | ^~~~~~~~~~
  234. ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
  235. 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
  236. | ^~~~~~~~~~~~~~~~~~~~~~~~
  237. ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
  238. 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
  239. | ^~~~~~~~~~~~~~~~~
  240. ../include/range/v3/algorithm/any_of.hpp:39:9: note: in expansion of macro 'template'
  241. 39 | template(typename I, typename S, typename F, typename P = identity)(
  242. | ^~~~~~~~
  243. In file included from ../include/range/v3/range_fwd.hpp:25,
  244. from ../include/range/v3/iterator/common_iterator.hpp:25,
  245. from ../include/range/v3/core.hpp:17,
  246. from ../test/algorithm/any_of.cpp:14:
  247. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class Rng, class F, class P, bool CPP_true, typename std::enable_if<(input_range<Rng> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P1>::apply<decltype (ranges::_::begin(declval<Rng&>()))> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(Rng&&, F, P) const'
  248. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  249. | ^~~~~~~~
  250. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  251. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  252. | ^~~~~~~~~~~
  253. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  254. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  255. | ^~~~~~~~
  256. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  257. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  258. | ^~~~~~~~~~~
  259. In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
  260. from ../include/range/v3/core.hpp:17,
  261. from ../test/algorithm/any_of.cpp:14:
  262. ../include/concepts/concepts.hpp:332:35: error: no type named 'type' in 'struct std::enable_if<false, int>'
  263. 332 | && CPP_BOOL(CPP_true), int> = 0, std::enable_if_t<
  264. | ^
  265. ../include/concepts/concepts.hpp:66:35: note: in definition of macro 'CPP_PP_CAT_'
  266. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  267. | ^~~~~~~~~~~
  268. ../include/concepts/concepts.hpp:298:9: note: in expansion of macro 'CPP_PP_CAT'
  269. 298 | CPP_PP_CAT(CPP_TEMPLATE_SFINAE_AUX_3_, __VA_ARGS__) && \
  270. | ^~~~~~~~~~
  271. ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
  272. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  273. | ^
  274. ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
  275. 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
  276. | ^~~~~~~~~~~~~~~~~~~~~~~~
  277. ../include/concepts/concepts.hpp:195:17: note: in expansion of macro 'CPP_and_sfinae'
  278. 195 | #define CPP_and CPP_and_sfinae
  279. | ^~~~~~~~~~~~~~
  280. ../include/range/v3/detail/prologue.hpp:37:13: note: in expansion of macro 'CPP_and'
  281. 37 | #define AND CPP_and
  282. | ^~~~~~~
  283. ../include/range/v3/algorithm/any_of.hpp:54:39: note: in expansion of macro 'AND'
  284. 54 | requires input_range<Rng> AND
  285. | ^~~
  286. In file included from ../test/algorithm/any_of.cpp:16:
  287. ../test/algorithm/any_of.cpp:53:39: error: no match for call to '(const ranges::any_of_fn) (std::vector<S>&, bool (S::*)() const)'
  288. 53 | CHECK(ranges::any_of(all_true, &S::p));
  289. | ^
  290. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  291. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  292. | ^~~~~~~~~~~
  293. ../test/algorithm/any_of.cpp:53:3: note: in expansion of macro 'CHECK'
  294. 53 | CHECK(ranges::any_of(all_true, &S::p));
  295. | ^~~~~
  296. In file included from ../include/range/v3/range_fwd.hpp:25,
  297. from ../include/range/v3/iterator/common_iterator.hpp:25,
  298. from ../include/range/v3/core.hpp:17,
  299. from ../test/algorithm/any_of.cpp:14:
  300. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class I, class S, class F, class P, bool CPP_true, typename std::enable_if<(input_iterator<I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(sentinel_for<S, I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P>::apply<I> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(I, S, F, P) const'
  301. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  302. | ^~~~~~~~
  303. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  304. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  305. | ^~~~~~~~~~~
  306. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  307. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  308. | ^~~~~~~~
  309. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  310. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  311. | ^~~~~~~~~~~
  312. In file included from ../test/algorithm/any_of.cpp:16:
  313. ../test/algorithm/any_of.cpp:53:39: note: candidate expects 4 arguments, 2 provided
  314. 53 | CHECK(ranges::any_of(all_true, &S::p));
  315. | ^
  316. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  317. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  318. | ^~~~~~~~~~~
  319. ../test/algorithm/any_of.cpp:53:3: note: in expansion of macro 'CHECK'
  320. 53 | CHECK(ranges::any_of(all_true, &S::p));
  321. | ^~~~~
  322. In file included from ../include/range/v3/range_fwd.hpp:25,
  323. from ../include/range/v3/iterator/common_iterator.hpp:25,
  324. from ../include/range/v3/core.hpp:17,
  325. from ../test/algorithm/any_of.cpp:14:
  326. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class Rng, class F, class P, bool CPP_true, typename std::enable_if<(input_range<Rng> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P1>::apply<decltype (ranges::_::begin(declval<Rng&>()))> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(Rng&&, F, P) const'
  327. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  328. | ^~~~~~~~
  329. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  330. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  331. | ^~~~~~~~~~~
  332. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  333. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  334. | ^~~~~~~~
  335. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  336. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  337. | ^~~~~~~~~~~
  338. In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
  339. from ../include/range/v3/core.hpp:17,
  340. from ../test/algorithm/any_of.cpp:14:
  341. ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
  342. 300 | int> = 0> \
  343. | ^
  344. ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
  345. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  346. | ^
  347. ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
  348. 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
  349. | ^~~~~~~~~~~
  350. ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
  351. 289 | CPP_PP_CAT( \
  352. | ^~~~~~~~~~
  353. ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
  354. 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
  355. | ^~~~~~~~~~~~~~~~~~~~~~~~
  356. ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
  357. 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
  358. | ^~~~~~~~~~~~~~~~~
  359. ../include/range/v3/algorithm/any_of.hpp:52:9: note: in expansion of macro 'template'
  360. 52 | template(typename Rng, typename F, typename P = identity)(
  361. | ^~~~~~~~
  362. In file included from ../test/algorithm/any_of.cpp:16:
  363. ../test/algorithm/any_of.cpp:54:39: error: no match for call to '(const ranges::any_of_fn) (std::vector<S>&, bool (S::*)() const)'
  364. 54 | CHECK(ranges::any_of(one_true, &S::p));
  365. | ^
  366. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  367. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  368. | ^~~~~~~~~~~
  369. ../test/algorithm/any_of.cpp:54:3: note: in expansion of macro 'CHECK'
  370. 54 | CHECK(ranges::any_of(one_true, &S::p));
  371. | ^~~~~
  372. In file included from ../include/range/v3/range_fwd.hpp:25,
  373. from ../include/range/v3/iterator/common_iterator.hpp:25,
  374. from ../include/range/v3/core.hpp:17,
  375. from ../test/algorithm/any_of.cpp:14:
  376. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class I, class S, class F, class P, bool CPP_true, typename std::enable_if<(input_iterator<I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(sentinel_for<S, I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P>::apply<I> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(I, S, F, P) const'
  377. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  378. | ^~~~~~~~
  379. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  380. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  381. | ^~~~~~~~~~~
  382. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  383. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  384. | ^~~~~~~~
  385. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  386. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  387. | ^~~~~~~~~~~
  388. In file included from ../test/algorithm/any_of.cpp:16:
  389. ../test/algorithm/any_of.cpp:54:39: note: candidate expects 4 arguments, 2 provided
  390. 54 | CHECK(ranges::any_of(one_true, &S::p));
  391. | ^
  392. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  393. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  394. | ^~~~~~~~~~~
  395. ../test/algorithm/any_of.cpp:54:3: note: in expansion of macro 'CHECK'
  396. 54 | CHECK(ranges::any_of(one_true, &S::p));
  397. | ^~~~~
  398. In file included from ../include/range/v3/range_fwd.hpp:25,
  399. from ../include/range/v3/iterator/common_iterator.hpp:25,
  400. from ../include/range/v3/core.hpp:17,
  401. from ../test/algorithm/any_of.cpp:14:
  402. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class Rng, class F, class P, bool CPP_true, typename std::enable_if<(input_range<Rng> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P1>::apply<decltype (ranges::_::begin(declval<Rng&>()))> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(Rng&&, F, P) const'
  403. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  404. | ^~~~~~~~
  405. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  406. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  407. | ^~~~~~~~~~~
  408. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  409. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  410. | ^~~~~~~~
  411. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  412. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  413. | ^~~~~~~~~~~
  414. In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
  415. from ../include/range/v3/core.hpp:17,
  416. from ../test/algorithm/any_of.cpp:14:
  417. ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
  418. 300 | int> = 0> \
  419. | ^
  420. ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
  421. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  422. | ^
  423. ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
  424. 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
  425. | ^~~~~~~~~~~
  426. ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
  427. 289 | CPP_PP_CAT( \
  428. | ^~~~~~~~~~
  429. ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
  430. 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
  431. | ^~~~~~~~~~~~~~~~~~~~~~~~
  432. ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
  433. 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
  434. | ^~~~~~~~~~~~~~~~~
  435. ../include/range/v3/algorithm/any_of.hpp:52:9: note: in expansion of macro 'template'
  436. 52 | template(typename Rng, typename F, typename P = identity)(
  437. | ^~~~~~~~
  438. In file included from ../test/algorithm/any_of.cpp:16:
  439. ../test/algorithm/any_of.cpp:55:41: error: no match for call to '(const ranges::any_of_fn) (std::vector<S>&, bool (S::*)() const)'
  440. 55 | CHECK(!ranges::any_of(none_true, &S::p));
  441. | ^
  442. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  443. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  444. | ^~~~~~~~~~~
  445. ../test/algorithm/any_of.cpp:55:3: note: in expansion of macro 'CHECK'
  446. 55 | CHECK(!ranges::any_of(none_true, &S::p));
  447. | ^~~~~
  448. In file included from ../include/range/v3/range_fwd.hpp:25,
  449. from ../include/range/v3/iterator/common_iterator.hpp:25,
  450. from ../include/range/v3/core.hpp:17,
  451. from ../test/algorithm/any_of.cpp:14:
  452. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class I, class S, class F, class P, bool CPP_true, typename std::enable_if<(input_iterator<I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(sentinel_for<S, I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P>::apply<I> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(I, S, F, P) const'
  453. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  454. | ^~~~~~~~
  455. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  456. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  457. | ^~~~~~~~~~~
  458. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  459. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  460. | ^~~~~~~~
  461. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  462. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  463. | ^~~~~~~~~~~
  464. In file included from ../test/algorithm/any_of.cpp:16:
  465. ../test/algorithm/any_of.cpp:55:41: note: candidate expects 4 arguments, 2 provided
  466. 55 | CHECK(!ranges::any_of(none_true, &S::p));
  467. | ^
  468. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  469. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  470. | ^~~~~~~~~~~
  471. ../test/algorithm/any_of.cpp:55:3: note: in expansion of macro 'CHECK'
  472. 55 | CHECK(!ranges::any_of(none_true, &S::p));
  473. | ^~~~~
  474. In file included from ../include/range/v3/range_fwd.hpp:25,
  475. from ../include/range/v3/iterator/common_iterator.hpp:25,
  476. from ../include/range/v3/core.hpp:17,
  477. from ../test/algorithm/any_of.cpp:14:
  478. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class Rng, class F, class P, bool CPP_true, typename std::enable_if<(input_range<Rng> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P1>::apply<decltype (ranges::_::begin(declval<Rng&>()))> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(Rng&&, F, P) const'
  479. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  480. | ^~~~~~~~
  481. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  482. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  483. | ^~~~~~~~~~~
  484. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  485. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  486. | ^~~~~~~~
  487. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  488. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  489. | ^~~~~~~~~~~
  490. In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
  491. from ../include/range/v3/core.hpp:17,
  492. from ../test/algorithm/any_of.cpp:14:
  493. ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
  494. 300 | int> = 0> \
  495. | ^
  496. ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
  497. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  498. | ^
  499. ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
  500. 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
  501. | ^~~~~~~~~~~
  502. ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
  503. 289 | CPP_PP_CAT( \
  504. | ^~~~~~~~~~
  505. ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
  506. 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
  507. | ^~~~~~~~~~~~~~~~~~~~~~~~
  508. ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
  509. 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
  510. | ^~~~~~~~~~~~~~~~~
  511. ../include/range/v3/algorithm/any_of.hpp:52:9: note: in expansion of macro 'template'
  512. 52 | template(typename Rng, typename F, typename P = identity)(
  513. | ^~~~~~~~
  514. In file included from ../test/algorithm/any_of.cpp:16:
  515. ../test/algorithm/any_of.cpp:58:61: error: no match for call to '(const ranges::any_of_fn) (std::initializer_list<S>, bool (S::*)() const)'
  516. 58 | CHECK(ranges::any_of(ILS{S(true), S(true), S(true)}, &S::p));
  517. | ^
  518. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  519. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  520. | ^~~~~~~~~~~
  521. ../test/algorithm/any_of.cpp:58:3: note: in expansion of macro 'CHECK'
  522. 58 | CHECK(ranges::any_of(ILS{S(true), S(true), S(true)}, &S::p));
  523. | ^~~~~
  524. In file included from ../include/range/v3/range_fwd.hpp:25,
  525. from ../include/range/v3/iterator/common_iterator.hpp:25,
  526. from ../include/range/v3/core.hpp:17,
  527. from ../test/algorithm/any_of.cpp:14:
  528. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class I, class S, class F, class P, bool CPP_true, typename std::enable_if<(input_iterator<I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(sentinel_for<S, I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P>::apply<I> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(I, S, F, P) const'
  529. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  530. | ^~~~~~~~
  531. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  532. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  533. | ^~~~~~~~~~~
  534. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  535. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  536. | ^~~~~~~~
  537. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  538. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  539. | ^~~~~~~~~~~
  540. In file included from ../test/algorithm/any_of.cpp:16:
  541. ../test/algorithm/any_of.cpp:58:61: note: candidate expects 4 arguments, 2 provided
  542. 58 | CHECK(ranges::any_of(ILS{S(true), S(true), S(true)}, &S::p));
  543. | ^
  544. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  545. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  546. | ^~~~~~~~~~~
  547. ../test/algorithm/any_of.cpp:58:3: note: in expansion of macro 'CHECK'
  548. 58 | CHECK(ranges::any_of(ILS{S(true), S(true), S(true)}, &S::p));
  549. | ^~~~~
  550. In file included from ../include/range/v3/range_fwd.hpp:25,
  551. from ../include/range/v3/iterator/common_iterator.hpp:25,
  552. from ../include/range/v3/core.hpp:17,
  553. from ../test/algorithm/any_of.cpp:14:
  554. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class Rng, class F, class P, bool CPP_true, typename std::enable_if<(input_range<Rng> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P1>::apply<decltype (ranges::_::begin(declval<Rng&>()))> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(Rng&&, F, P) const'
  555. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  556. | ^~~~~~~~
  557. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  558. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  559. | ^~~~~~~~~~~
  560. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  561. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  562. | ^~~~~~~~
  563. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  564. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  565. | ^~~~~~~~~~~
  566. In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
  567. from ../include/range/v3/core.hpp:17,
  568. from ../test/algorithm/any_of.cpp:14:
  569. ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
  570. 300 | int> = 0> \
  571. | ^
  572. ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
  573. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  574. | ^
  575. ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
  576. 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
  577. | ^~~~~~~~~~~
  578. ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
  579. 289 | CPP_PP_CAT( \
  580. | ^~~~~~~~~~
  581. ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
  582. 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
  583. | ^~~~~~~~~~~~~~~~~~~~~~~~
  584. ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
  585. 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
  586. | ^~~~~~~~~~~~~~~~~
  587. ../include/range/v3/algorithm/any_of.hpp:52:9: note: in expansion of macro 'template'
  588. 52 | template(typename Rng, typename F, typename P = identity)(
  589. | ^~~~~~~~
  590. In file included from ../test/algorithm/any_of.cpp:16:
  591. ../test/algorithm/any_of.cpp:59:63: error: no match for call to '(const ranges::any_of_fn) (std::initializer_list<S>, bool (S::*)() const)'
  592. 59 | CHECK(ranges::any_of(ILS{S(false), S(true), S(false)}, &S::p));
  593. | ^
  594. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  595. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  596. | ^~~~~~~~~~~
  597. ../test/algorithm/any_of.cpp:59:3: note: in expansion of macro 'CHECK'
  598. 59 | CHECK(ranges::any_of(ILS{S(false), S(true), S(false)}, &S::p));
  599. | ^~~~~
  600. In file included from ../include/range/v3/range_fwd.hpp:25,
  601. from ../include/range/v3/iterator/common_iterator.hpp:25,
  602. from ../include/range/v3/core.hpp:17,
  603. from ../test/algorithm/any_of.cpp:14:
  604. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class I, class S, class F, class P, bool CPP_true, typename std::enable_if<(input_iterator<I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(sentinel_for<S, I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P>::apply<I> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(I, S, F, P) const'
  605. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  606. | ^~~~~~~~
  607. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  608. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  609. | ^~~~~~~~~~~
  610. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  611. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  612. | ^~~~~~~~
  613. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  614. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  615. | ^~~~~~~~~~~
  616. In file included from ../test/algorithm/any_of.cpp:16:
  617. ../test/algorithm/any_of.cpp:59:63: note: candidate expects 4 arguments, 2 provided
  618. 59 | CHECK(ranges::any_of(ILS{S(false), S(true), S(false)}, &S::p));
  619. | ^
  620. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  621. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  622. | ^~~~~~~~~~~
  623. ../test/algorithm/any_of.cpp:59:3: note: in expansion of macro 'CHECK'
  624. 59 | CHECK(ranges::any_of(ILS{S(false), S(true), S(false)}, &S::p));
  625. | ^~~~~
  626. In file included from ../include/range/v3/range_fwd.hpp:25,
  627. from ../include/range/v3/iterator/common_iterator.hpp:25,
  628. from ../include/range/v3/core.hpp:17,
  629. from ../test/algorithm/any_of.cpp:14:
  630. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class Rng, class F, class P, bool CPP_true, typename std::enable_if<(input_range<Rng> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P1>::apply<decltype (ranges::_::begin(declval<Rng&>()))> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(Rng&&, F, P) const'
  631. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  632. | ^~~~~~~~
  633. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  634. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  635. | ^~~~~~~~~~~
  636. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  637. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  638. | ^~~~~~~~
  639. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  640. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  641. | ^~~~~~~~~~~
  642. In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
  643. from ../include/range/v3/core.hpp:17,
  644. from ../test/algorithm/any_of.cpp:14:
  645. ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
  646. 300 | int> = 0> \
  647. | ^
  648. ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
  649. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  650. | ^
  651. ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
  652. 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
  653. | ^~~~~~~~~~~
  654. ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
  655. 289 | CPP_PP_CAT( \
  656. | ^~~~~~~~~~
  657. ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
  658. 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
  659. | ^~~~~~~~~~~~~~~~~~~~~~~~
  660. ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
  661. 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
  662. | ^~~~~~~~~~~~~~~~~
  663. ../include/range/v3/algorithm/any_of.hpp:52:9: note: in expansion of macro 'template'
  664. 52 | template(typename Rng, typename F, typename P = identity)(
  665. | ^~~~~~~~
  666. In file included from ../test/algorithm/any_of.cpp:16:
  667. ../test/algorithm/any_of.cpp:60:65: error: no match for call to '(const ranges::any_of_fn) (std::initializer_list<S>, bool (S::*)() const)'
  668. 60 | CHECK(!ranges::any_of(ILS{S(false), S(false), S(false)}, &S::p));
  669. | ^
  670. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  671. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  672. | ^~~~~~~~~~~
  673. ../test/algorithm/any_of.cpp:60:3: note: in expansion of macro 'CHECK'
  674. 60 | CHECK(!ranges::any_of(ILS{S(false), S(false), S(false)}, &S::p));
  675. | ^~~~~
  676. In file included from ../include/range/v3/range_fwd.hpp:25,
  677. from ../include/range/v3/iterator/common_iterator.hpp:25,
  678. from ../include/range/v3/core.hpp:17,
  679. from ../test/algorithm/any_of.cpp:14:
  680. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class I, class S, class F, class P, bool CPP_true, typename std::enable_if<(input_iterator<I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(sentinel_for<S, I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P>::apply<I> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(I, S, F, P) const'
  681. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  682. | ^~~~~~~~
  683. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  684. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  685. | ^~~~~~~~~~~
  686. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  687. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  688. | ^~~~~~~~
  689. ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
  690. 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
  691. | ^~~~~~~~~~~
  692. In file included from ../test/algorithm/any_of.cpp:16:
  693. ../test/algorithm/any_of.cpp:60:65: note: candidate expects 4 arguments, 2 provided
  694. 60 | CHECK(!ranges::any_of(ILS{S(false), S(false), S(false)}, &S::p));
  695. | ^
  696. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  697. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  698. | ^~~~~~~~~~~
  699. ../test/algorithm/any_of.cpp:60:3: note: in expansion of macro 'CHECK'
  700. 60 | CHECK(!ranges::any_of(ILS{S(false), S(false), S(false)}, &S::p));
  701. | ^~~~~
  702. In file included from ../include/range/v3/range_fwd.hpp:25,
  703. from ../include/range/v3/iterator/common_iterator.hpp:25,
  704. from ../include/range/v3/core.hpp:17,
  705. from ../test/algorithm/any_of.cpp:14:
  706. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class Rng, class F, class P, bool CPP_true, typename std::enable_if<(input_range<Rng> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirect_unary_predicate<F, typename ranges::detail::select_projected_<P1>::apply<decltype (ranges::_::begin(declval<Rng&>()))> > && CPP_true), int>::type <anonymous> > bool ranges::any_of_fn::operator()(Rng&&, F, P) const'
  707. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  708. | ^~~~~~~~
  709. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  710. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  711. | ^~~~~~~~~~~
  712. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  713. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  714. | ^~~~~~~~
  715. ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
  716. 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
  717. | ^~~~~~~~~~~
  718. In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
  719. from ../include/range/v3/core.hpp:17,
  720. from ../test/algorithm/any_of.cpp:14:
  721. ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
  722. 300 | int> = 0> \
  723. | ^
  724. ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
  725. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  726. | ^
  727. ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
  728. 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
  729. | ^~~~~~~~~~~
  730. ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
  731. 289 | CPP_PP_CAT( \
  732. | ^~~~~~~~~~
  733. ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
  734. 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
  735. | ^~~~~~~~~~~~~~~~~~~~~~~~
  736. ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
  737. 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
  738. | ^~~~~~~~~~~~~~~~~
  739. ../include/range/v3/algorithm/any_of.hpp:52:9: note: in expansion of macro 'template'
  740. 52 | template(typename Rng, typename F, typename P = identity)(
  741. | ^~~~~~~~
  742. [180/461] Building CXX object test/algorithm/CMakeFiles/alg.for_each_n.dir/for_each_n.cpp.obj
  743. FAILED: test/algorithm/CMakeFiles/alg.for_each_n.dir/for_each_n.cpp.obj
  744. C:\msys64\mingw64\bin\c++.exe -I../include -O3 -DNDEBUG -std=c++17 -Wall -Wextra -Werror -fdiagnostics-show-template-tree -ftemplate-backtrace-limit=0 -fomit-frame-pointer -Ofast -fstrict-aliasing -ffast-math -fsized-deallocation -march=native -mtune=native -DRANGES_CXX_ALIGNED_NEW=0 -pedantic -pedantic-errors -Wno-padded -Wno-old-style-cast -Wno-noexcept-type -MD -MT test/algorithm/CMakeFiles/alg.for_each_n.dir/for_each_n.cpp.obj -MF test\algorithm\CMakeFiles\alg.for_each_n.dir\for_each_n.cpp.obj.d -o test/algorithm/CMakeFiles/alg.for_each_n.dir/for_each_n.cpp.obj -c ../test/algorithm/for_each_n.cpp
  745. In file included from ../test/algorithm/for_each_n.cpp:16:
  746. ../test/algorithm/for_each_n.cpp: In function 'int main()':
  747. ../test/algorithm/for_each_n.cpp:43:50: error: no match for call to '(const ranges::for_each_n_fn) (std::vector<S>::iterator, int, void (S::*)() const)'
  748. 43 | CHECK(ranges::for_each_n(v2.begin(), 3, &S::p) == v2.begin() + 3);
  749. | ^
  750. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  751. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  752. | ^~~~~~~~~~~
  753. ../test/algorithm/for_each_n.cpp:43:5: note: in expansion of macro 'CHECK'
  754. 43 | CHECK(ranges::for_each_n(v2.begin(), 3, &S::p) == v2.begin() + 3);
  755. | ^~~~~
  756. In file included from ../include/range/v3/range_fwd.hpp:25,
  757. from ../include/range/v3/iterator/common_iterator.hpp:25,
  758. from ../include/range/v3/core.hpp:17,
  759. from ../test/algorithm/for_each_n.cpp:14:
  760. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class I, class F, class P, bool CPP_true, typename std::enable_if<(input_iterator<I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirectly_unary_invocable<F, typename ranges::detail::select_projected_<P1>::apply<I> > && CPP_true), int>::type <anonymous> > I ranges::for_each_n_fn::operator()(I, ranges::iter_difference_t<I>, F, P) const'
  761. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  762. | ^~~~~~~~
  763. ../include/range/v3/algorithm/for_each_n.hpp:44:11: note: in expansion of macro 'RANGES_FUNC'
  764. 44 | I RANGES_FUNC(for_each_n)(I first, iter_difference_t<I> n, F fun, P proj = P{})
  765. | ^~~~~~~~~~~
  766. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  767. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  768. | ^~~~~~~~
  769. ../include/range/v3/algorithm/for_each_n.hpp:44:11: note: in expansion of macro 'RANGES_FUNC'
  770. 44 | I RANGES_FUNC(for_each_n)(I first, iter_difference_t<I> n, F fun, P proj = P{})
  771. | ^~~~~~~~~~~
  772. In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
  773. from ../include/range/v3/core.hpp:17,
  774. from ../test/algorithm/for_each_n.cpp:14:
  775. ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
  776. 300 | int> = 0> \
  777. | ^
  778. ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
  779. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  780. | ^
  781. ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
  782. 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
  783. | ^~~~~~~~~~~
  784. ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
  785. 289 | CPP_PP_CAT( \
  786. | ^~~~~~~~~~
  787. ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
  788. 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
  789. | ^~~~~~~~~~~~~~~~~~~~~~~~
  790. ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
  791. 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
  792. | ^~~~~~~~~~~~~~~~~
  793. ../include/range/v3/algorithm/for_each_n.hpp:40:9: note: in expansion of macro 'template'
  794. 40 | template(typename I, typename F, typename P = identity)(
  795. | ^~~~~~~~
  796. In file included from ../include/range/v3/range_fwd.hpp:25,
  797. from ../include/range/v3/iterator/common_iterator.hpp:25,
  798. from ../include/range/v3/core.hpp:17,
  799. from ../test/algorithm/for_each_n.cpp:14:
  800. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class Rng, class F, class P, bool CPP_true, typename std::enable_if<(input_range<Rng> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirectly_unary_invocable<F, typename ranges::detail::select_projected_<P1>::apply<decltype (ranges::_::begin(declval<Rng&>()))> > && CPP_true), int>::type <anonymous> > ranges::borrowed_iterator_t<Rng> ranges::for_each_n_fn::operator()(Rng&&, ranges::range_difference_t<Rng>, F, P) const'
  801. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  802. | ^~~~~~~~
  803. ../include/range/v3/algorithm/for_each_n.hpp:59:34: note: in expansion of macro 'RANGES_FUNC'
  804. 59 | borrowed_iterator_t<Rng> RANGES_FUNC(for_each_n)(
  805. | ^~~~~~~~~~~
  806. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  807. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  808. | ^~~~~~~~
  809. ../include/range/v3/algorithm/for_each_n.hpp:59:34: note: in expansion of macro 'RANGES_FUNC'
  810. 59 | borrowed_iterator_t<Rng> RANGES_FUNC(for_each_n)(
  811. | ^~~~~~~~~~~
  812. In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
  813. from ../include/range/v3/core.hpp:17,
  814. from ../test/algorithm/for_each_n.cpp:14:
  815. ../include/concepts/concepts.hpp:332:35: error: no type named 'type' in 'struct std::enable_if<false, int>'
  816. 332 | && CPP_BOOL(CPP_true), int> = 0, std::enable_if_t<
  817. | ^
  818. ../include/concepts/concepts.hpp:66:35: note: in definition of macro 'CPP_PP_CAT_'
  819. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  820. | ^~~~~~~~~~~
  821. ../include/concepts/concepts.hpp:298:9: note: in expansion of macro 'CPP_PP_CAT'
  822. 298 | CPP_PP_CAT(CPP_TEMPLATE_SFINAE_AUX_3_, __VA_ARGS__) && \
  823. | ^~~~~~~~~~
  824. ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
  825. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  826. | ^
  827. ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
  828. 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
  829. | ^~~~~~~~~~~~~~~~~~~~~~~~
  830. ../include/concepts/concepts.hpp:195:17: note: in expansion of macro 'CPP_and_sfinae'
  831. 195 | #define CPP_and CPP_and_sfinae
  832. | ^~~~~~~~~~~~~~
  833. ../include/range/v3/detail/prologue.hpp:37:13: note: in expansion of macro 'CPP_and'
  834. 37 | #define AND CPP_and
  835. | ^~~~~~~
  836. ../include/range/v3/algorithm/for_each_n.hpp:57:39: note: in expansion of macro 'AND'
  837. 57 | requires input_range<Rng> AND
  838. | ^~~
  839. In file included from ../test/algorithm/for_each_n.cpp:16:
  840. ../test/algorithm/for_each_n.cpp:44:42: error: no match for call to '(const ranges::for_each_n_fn) (std::vector<S>&, int, void (S::*)() const)'
  841. 44 | CHECK(ranges::for_each_n(v2, 3, &S::p) == v2.begin() + 3);
  842. | ^
  843. ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
  844. 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
  845. | ^~~~~~~~~~~
  846. ../test/algorithm/for_each_n.cpp:44:5: note: in expansion of macro 'CHECK'
  847. 44 | CHECK(ranges::for_each_n(v2, 3, &S::p) == v2.begin() + 3);
  848. | ^~~~~
  849. In file included from ../include/range/v3/range_fwd.hpp:25,
  850. from ../include/range/v3/iterator/common_iterator.hpp:25,
  851. from ../include/range/v3/core.hpp:17,
  852. from ../test/algorithm/for_each_n.cpp:14:
  853. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class I, class F, class P, bool CPP_true, typename std::enable_if<(input_iterator<I> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirectly_unary_invocable<F, typename ranges::detail::select_projected_<P1>::apply<I> > && CPP_true), int>::type <anonymous> > I ranges::for_each_n_fn::operator()(I, ranges::iter_difference_t<I>, F, P) const'
  854. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  855. | ^~~~~~~~
  856. ../include/range/v3/algorithm/for_each_n.hpp:44:11: note: in expansion of macro 'RANGES_FUNC'
  857. 44 | I RANGES_FUNC(for_each_n)(I first, iter_difference_t<I> n, F fun, P proj = P{})
  858. | ^~~~~~~~~~~
  859. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  860. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  861. | ^~~~~~~~
  862. ../include/range/v3/algorithm/for_each_n.hpp:44:11: note: in expansion of macro 'RANGES_FUNC'
  863. 44 | I RANGES_FUNC(for_each_n)(I first, iter_difference_t<I> n, F fun, P proj = P{})
  864. | ^~~~~~~~~~~
  865. In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
  866. from ../include/range/v3/core.hpp:17,
  867. from ../test/algorithm/for_each_n.cpp:14:
  868. ../include/concepts/concepts.hpp:332:35: error: no type named 'type' in 'struct std::enable_if<false, int>'
  869. 332 | && CPP_BOOL(CPP_true), int> = 0, std::enable_if_t<
  870. | ^
  871. ../include/concepts/concepts.hpp:66:35: note: in definition of macro 'CPP_PP_CAT_'
  872. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  873. | ^~~~~~~~~~~
  874. ../include/concepts/concepts.hpp:298:9: note: in expansion of macro 'CPP_PP_CAT'
  875. 298 | CPP_PP_CAT(CPP_TEMPLATE_SFINAE_AUX_3_, __VA_ARGS__) && \
  876. | ^~~~~~~~~~
  877. ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
  878. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  879. | ^
  880. ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
  881. 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
  882. | ^~~~~~~~~~~~~~~~~~~~~~~~
  883. ../include/concepts/concepts.hpp:195:17: note: in expansion of macro 'CPP_and_sfinae'
  884. 195 | #define CPP_and CPP_and_sfinae
  885. | ^~~~~~~~~~~~~~
  886. ../include/range/v3/detail/prologue.hpp:37:13: note: in expansion of macro 'CPP_and'
  887. 37 | #define AND CPP_and
  888. | ^~~~~~~
  889. ../include/range/v3/algorithm/for_each_n.hpp:42:40: note: in expansion of macro 'AND'
  890. 42 | requires input_iterator<I> AND
  891. | ^~~
  892. In file included from ../include/range/v3/range_fwd.hpp:25,
  893. from ../include/range/v3/iterator/common_iterator.hpp:25,
  894. from ../include/range/v3/core.hpp:17,
  895. from ../test/algorithm/for_each_n.cpp:14:
  896. ../include/range/v3/detail/config.hpp:632:27: note: candidate: 'template<class Rng, class F, class P, bool CPP_true, typename std::enable_if<(input_range<Rng> && CPP_true), int>::type <anonymous>, typename std::enable_if<(indirectly_unary_invocable<F, typename ranges::detail::select_projected_<P1>::apply<decltype (ranges::_::begin(declval<Rng&>()))> > && CPP_true), int>::type <anonymous> > ranges::borrowed_iterator_t<Rng> ranges::for_each_n_fn::operator()(Rng&&, ranges::range_difference_t<Rng>, F, P) const'
  897. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  898. | ^~~~~~~~
  899. ../include/range/v3/algorithm/for_each_n.hpp:59:34: note: in expansion of macro 'RANGES_FUNC'
  900. 59 | borrowed_iterator_t<Rng> RANGES_FUNC(for_each_n)(
  901. | ^~~~~~~~~~~
  902. ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
  903. 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
  904. | ^~~~~~~~
  905. ../include/range/v3/algorithm/for_each_n.hpp:59:34: note: in expansion of macro 'RANGES_FUNC'
  906. 59 | borrowed_iterator_t<Rng> RANGES_FUNC(for_each_n)(
  907. | ^~~~~~~~~~~
  908. In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
  909. from ../include/range/v3/core.hpp:17,
  910. from ../test/algorithm/for_each_n.cpp:14:
  911. ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
  912. 300 | int> = 0> \
  913. | ^
  914. ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
  915. 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
  916. | ^
  917. ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
  918. 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
  919. | ^~~~~~~~~~~
  920. ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
  921. 289 | CPP_PP_CAT( \
  922. | ^~~~~~~~~~
  923. ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
  924. 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
  925. | ^~~~~~~~~~~~~~~~~~~~~~~~
  926. ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
  927. 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
  928. | ^~~~~~~~~~~~~~~~~
  929. ../include/range/v3/algorithm/for_each_n.hpp:55:9: note: in expansion of macro 'template'
  930. 55 | template(typename Rng, typename F, typename P = identity)(
  931. | ^~~~~~~~
  932. [184/461] Building CXX object test/algorithm/CMakeFiles/al...ymmetric_difference5.dir/set_symmetric_difference5.cpp.obj
  933. ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement