Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ninja -C build
- ninja: Entering directory `build'
- [179/461] Building CXX object test/algorithm/CMakeFiles/alg.any_of.dir/any_of.cpp.obj
- FAILED: test/algorithm/CMakeFiles/alg.any_of.dir/any_of.cpp.obj
- 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
- In file included from ../test/algorithm/any_of.cpp:16:
- ../test/algorithm/any_of.cpp: In function 'int main()':
- ../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)'
- 49 | CHECK(ranges::any_of(all_true.begin(), all_true.end(), &S::p));
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/any_of.cpp:49:3: note: in expansion of macro 'CHECK'
- 49 | CHECK(ranges::any_of(all_true.begin(), all_true.end(), &S::p));
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
- 300 | int> = 0> \
- | ^
- ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^
- ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
- 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
- | ^~~~~~~~~~~
- ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
- 289 | CPP_PP_CAT( \
- | ^~~~~~~~~~
- ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
- 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
- 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
- | ^~~~~~~~~~~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:39:9: note: in expansion of macro 'template'
- 39 | template(typename I, typename S, typename F, typename P = identity)(
- | ^~~~~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../include/concepts/concepts.hpp:332:35: error: no type named 'type' in 'struct std::enable_if<false, int>'
- 332 | && CPP_BOOL(CPP_true), int> = 0, std::enable_if_t<
- | ^
- ../include/concepts/concepts.hpp:66:35: note: in definition of macro 'CPP_PP_CAT_'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^~~~~~~~~~~
- ../include/concepts/concepts.hpp:298:9: note: in expansion of macro 'CPP_PP_CAT'
- 298 | CPP_PP_CAT(CPP_TEMPLATE_SFINAE_AUX_3_, __VA_ARGS__) && \
- | ^~~~~~~~~~
- ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^
- ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
- 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- ../include/concepts/concepts.hpp:195:17: note: in expansion of macro 'CPP_and_sfinae'
- 195 | #define CPP_and CPP_and_sfinae
- | ^~~~~~~~~~~~~~
- ../include/range/v3/detail/prologue.hpp:37:13: note: in expansion of macro 'CPP_and'
- 37 | #define AND CPP_and
- | ^~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:54:39: note: in expansion of macro 'AND'
- 54 | requires input_range<Rng> AND
- | ^~~
- In file included from ../test/algorithm/any_of.cpp:16:
- ../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)'
- 50 | CHECK(ranges::any_of(one_true.begin(), one_true.end(), &S::p));
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/any_of.cpp:50:3: note: in expansion of macro 'CHECK'
- 50 | CHECK(ranges::any_of(one_true.begin(), one_true.end(), &S::p));
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
- 300 | int> = 0> \
- | ^
- ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^
- ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
- 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
- | ^~~~~~~~~~~
- ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
- 289 | CPP_PP_CAT( \
- | ^~~~~~~~~~
- ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
- 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
- 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
- | ^~~~~~~~~~~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:39:9: note: in expansion of macro 'template'
- 39 | template(typename I, typename S, typename F, typename P = identity)(
- | ^~~~~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../include/concepts/concepts.hpp:332:35: error: no type named 'type' in 'struct std::enable_if<false, int>'
- 332 | && CPP_BOOL(CPP_true), int> = 0, std::enable_if_t<
- | ^
- ../include/concepts/concepts.hpp:66:35: note: in definition of macro 'CPP_PP_CAT_'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^~~~~~~~~~~
- ../include/concepts/concepts.hpp:298:9: note: in expansion of macro 'CPP_PP_CAT'
- 298 | CPP_PP_CAT(CPP_TEMPLATE_SFINAE_AUX_3_, __VA_ARGS__) && \
- | ^~~~~~~~~~
- ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^
- ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
- 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- ../include/concepts/concepts.hpp:195:17: note: in expansion of macro 'CPP_and_sfinae'
- 195 | #define CPP_and CPP_and_sfinae
- | ^~~~~~~~~~~~~~
- ../include/range/v3/detail/prologue.hpp:37:13: note: in expansion of macro 'CPP_and'
- 37 | #define AND CPP_and
- | ^~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:54:39: note: in expansion of macro 'AND'
- 54 | requires input_range<Rng> AND
- | ^~~
- In file included from ../test/algorithm/any_of.cpp:16:
- ../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)'
- 51 | CHECK(!ranges::any_of(none_true.begin(), none_true.end(), &S::p));
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/any_of.cpp:51:3: note: in expansion of macro 'CHECK'
- 51 | CHECK(!ranges::any_of(none_true.begin(), none_true.end(), &S::p));
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
- 300 | int> = 0> \
- | ^
- ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^
- ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
- 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
- | ^~~~~~~~~~~
- ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
- 289 | CPP_PP_CAT( \
- | ^~~~~~~~~~
- ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
- 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
- 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
- | ^~~~~~~~~~~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:39:9: note: in expansion of macro 'template'
- 39 | template(typename I, typename S, typename F, typename P = identity)(
- | ^~~~~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../include/concepts/concepts.hpp:332:35: error: no type named 'type' in 'struct std::enable_if<false, int>'
- 332 | && CPP_BOOL(CPP_true), int> = 0, std::enable_if_t<
- | ^
- ../include/concepts/concepts.hpp:66:35: note: in definition of macro 'CPP_PP_CAT_'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^~~~~~~~~~~
- ../include/concepts/concepts.hpp:298:9: note: in expansion of macro 'CPP_PP_CAT'
- 298 | CPP_PP_CAT(CPP_TEMPLATE_SFINAE_AUX_3_, __VA_ARGS__) && \
- | ^~~~~~~~~~
- ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^
- ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
- 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- ../include/concepts/concepts.hpp:195:17: note: in expansion of macro 'CPP_and_sfinae'
- 195 | #define CPP_and CPP_and_sfinae
- | ^~~~~~~~~~~~~~
- ../include/range/v3/detail/prologue.hpp:37:13: note: in expansion of macro 'CPP_and'
- 37 | #define AND CPP_and
- | ^~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:54:39: note: in expansion of macro 'AND'
- 54 | requires input_range<Rng> AND
- | ^~~
- In file included from ../test/algorithm/any_of.cpp:16:
- ../test/algorithm/any_of.cpp:53:39: error: no match for call to '(const ranges::any_of_fn) (std::vector<S>&, bool (S::*)() const)'
- 53 | CHECK(ranges::any_of(all_true, &S::p));
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/any_of.cpp:53:3: note: in expansion of macro 'CHECK'
- 53 | CHECK(ranges::any_of(all_true, &S::p));
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../test/algorithm/any_of.cpp:16:
- ../test/algorithm/any_of.cpp:53:39: note: candidate expects 4 arguments, 2 provided
- 53 | CHECK(ranges::any_of(all_true, &S::p));
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/any_of.cpp:53:3: note: in expansion of macro 'CHECK'
- 53 | CHECK(ranges::any_of(all_true, &S::p));
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
- 300 | int> = 0> \
- | ^
- ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^
- ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
- 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
- | ^~~~~~~~~~~
- ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
- 289 | CPP_PP_CAT( \
- | ^~~~~~~~~~
- ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
- 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
- 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
- | ^~~~~~~~~~~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:52:9: note: in expansion of macro 'template'
- 52 | template(typename Rng, typename F, typename P = identity)(
- | ^~~~~~~~
- In file included from ../test/algorithm/any_of.cpp:16:
- ../test/algorithm/any_of.cpp:54:39: error: no match for call to '(const ranges::any_of_fn) (std::vector<S>&, bool (S::*)() const)'
- 54 | CHECK(ranges::any_of(one_true, &S::p));
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/any_of.cpp:54:3: note: in expansion of macro 'CHECK'
- 54 | CHECK(ranges::any_of(one_true, &S::p));
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../test/algorithm/any_of.cpp:16:
- ../test/algorithm/any_of.cpp:54:39: note: candidate expects 4 arguments, 2 provided
- 54 | CHECK(ranges::any_of(one_true, &S::p));
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/any_of.cpp:54:3: note: in expansion of macro 'CHECK'
- 54 | CHECK(ranges::any_of(one_true, &S::p));
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
- 300 | int> = 0> \
- | ^
- ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^
- ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
- 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
- | ^~~~~~~~~~~
- ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
- 289 | CPP_PP_CAT( \
- | ^~~~~~~~~~
- ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
- 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
- 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
- | ^~~~~~~~~~~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:52:9: note: in expansion of macro 'template'
- 52 | template(typename Rng, typename F, typename P = identity)(
- | ^~~~~~~~
- In file included from ../test/algorithm/any_of.cpp:16:
- ../test/algorithm/any_of.cpp:55:41: error: no match for call to '(const ranges::any_of_fn) (std::vector<S>&, bool (S::*)() const)'
- 55 | CHECK(!ranges::any_of(none_true, &S::p));
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/any_of.cpp:55:3: note: in expansion of macro 'CHECK'
- 55 | CHECK(!ranges::any_of(none_true, &S::p));
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../test/algorithm/any_of.cpp:16:
- ../test/algorithm/any_of.cpp:55:41: note: candidate expects 4 arguments, 2 provided
- 55 | CHECK(!ranges::any_of(none_true, &S::p));
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/any_of.cpp:55:3: note: in expansion of macro 'CHECK'
- 55 | CHECK(!ranges::any_of(none_true, &S::p));
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
- 300 | int> = 0> \
- | ^
- ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^
- ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
- 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
- | ^~~~~~~~~~~
- ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
- 289 | CPP_PP_CAT( \
- | ^~~~~~~~~~
- ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
- 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
- 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
- | ^~~~~~~~~~~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:52:9: note: in expansion of macro 'template'
- 52 | template(typename Rng, typename F, typename P = identity)(
- | ^~~~~~~~
- In file included from ../test/algorithm/any_of.cpp:16:
- ../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)'
- 58 | CHECK(ranges::any_of(ILS{S(true), S(true), S(true)}, &S::p));
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/any_of.cpp:58:3: note: in expansion of macro 'CHECK'
- 58 | CHECK(ranges::any_of(ILS{S(true), S(true), S(true)}, &S::p));
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../test/algorithm/any_of.cpp:16:
- ../test/algorithm/any_of.cpp:58:61: note: candidate expects 4 arguments, 2 provided
- 58 | CHECK(ranges::any_of(ILS{S(true), S(true), S(true)}, &S::p));
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/any_of.cpp:58:3: note: in expansion of macro 'CHECK'
- 58 | CHECK(ranges::any_of(ILS{S(true), S(true), S(true)}, &S::p));
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
- 300 | int> = 0> \
- | ^
- ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^
- ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
- 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
- | ^~~~~~~~~~~
- ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
- 289 | CPP_PP_CAT( \
- | ^~~~~~~~~~
- ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
- 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
- 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
- | ^~~~~~~~~~~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:52:9: note: in expansion of macro 'template'
- 52 | template(typename Rng, typename F, typename P = identity)(
- | ^~~~~~~~
- In file included from ../test/algorithm/any_of.cpp:16:
- ../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)'
- 59 | CHECK(ranges::any_of(ILS{S(false), S(true), S(false)}, &S::p));
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/any_of.cpp:59:3: note: in expansion of macro 'CHECK'
- 59 | CHECK(ranges::any_of(ILS{S(false), S(true), S(false)}, &S::p));
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../test/algorithm/any_of.cpp:16:
- ../test/algorithm/any_of.cpp:59:63: note: candidate expects 4 arguments, 2 provided
- 59 | CHECK(ranges::any_of(ILS{S(false), S(true), S(false)}, &S::p));
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/any_of.cpp:59:3: note: in expansion of macro 'CHECK'
- 59 | CHECK(ranges::any_of(ILS{S(false), S(true), S(false)}, &S::p));
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
- 300 | int> = 0> \
- | ^
- ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^
- ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
- 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
- | ^~~~~~~~~~~
- ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
- 289 | CPP_PP_CAT( \
- | ^~~~~~~~~~
- ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
- 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
- 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
- | ^~~~~~~~~~~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:52:9: note: in expansion of macro 'template'
- 52 | template(typename Rng, typename F, typename P = identity)(
- | ^~~~~~~~
- In file included from ../test/algorithm/any_of.cpp:16:
- ../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)'
- 60 | CHECK(!ranges::any_of(ILS{S(false), S(false), S(false)}, &S::p));
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/any_of.cpp:60:3: note: in expansion of macro 'CHECK'
- 60 | CHECK(!ranges::any_of(ILS{S(false), S(false), S(false)}, &S::p));
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:43:14: note: in expansion of macro 'RANGES_FUNC'
- 43 | bool RANGES_FUNC(any_of)(I first, S last, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../test/algorithm/any_of.cpp:16:
- ../test/algorithm/any_of.cpp:60:65: note: candidate expects 4 arguments, 2 provided
- 60 | CHECK(!ranges::any_of(ILS{S(false), S(false), S(false)}, &S::p));
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/any_of.cpp:60:3: note: in expansion of macro 'CHECK'
- 60 | CHECK(!ranges::any_of(ILS{S(false), S(false), S(false)}, &S::p));
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:56:14: note: in expansion of macro 'RANGES_FUNC'
- 56 | bool RANGES_FUNC(any_of)(Rng && rng, F pred, P proj = P{}) //
- | ^~~~~~~~~~~
- In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/any_of.cpp:14:
- ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
- 300 | int> = 0> \
- | ^
- ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^
- ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
- 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
- | ^~~~~~~~~~~
- ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
- 289 | CPP_PP_CAT( \
- | ^~~~~~~~~~
- ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
- 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
- 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
- | ^~~~~~~~~~~~~~~~~
- ../include/range/v3/algorithm/any_of.hpp:52:9: note: in expansion of macro 'template'
- 52 | template(typename Rng, typename F, typename P = identity)(
- | ^~~~~~~~
- [180/461] Building CXX object test/algorithm/CMakeFiles/alg.for_each_n.dir/for_each_n.cpp.obj
- FAILED: test/algorithm/CMakeFiles/alg.for_each_n.dir/for_each_n.cpp.obj
- 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
- In file included from ../test/algorithm/for_each_n.cpp:16:
- ../test/algorithm/for_each_n.cpp: In function 'int main()':
- ../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)'
- 43 | CHECK(ranges::for_each_n(v2.begin(), 3, &S::p) == v2.begin() + 3);
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/for_each_n.cpp:43:5: note: in expansion of macro 'CHECK'
- 43 | CHECK(ranges::for_each_n(v2.begin(), 3, &S::p) == v2.begin() + 3);
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/for_each_n.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/for_each_n.hpp:44:11: note: in expansion of macro 'RANGES_FUNC'
- 44 | I RANGES_FUNC(for_each_n)(I first, iter_difference_t<I> n, F fun, P proj = P{})
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/for_each_n.hpp:44:11: note: in expansion of macro 'RANGES_FUNC'
- 44 | I RANGES_FUNC(for_each_n)(I first, iter_difference_t<I> n, F fun, P proj = P{})
- | ^~~~~~~~~~~
- In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/for_each_n.cpp:14:
- ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
- 300 | int> = 0> \
- | ^
- ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^
- ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
- 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
- | ^~~~~~~~~~~
- ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
- 289 | CPP_PP_CAT( \
- | ^~~~~~~~~~
- ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
- 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
- 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
- | ^~~~~~~~~~~~~~~~~
- ../include/range/v3/algorithm/for_each_n.hpp:40:9: note: in expansion of macro 'template'
- 40 | template(typename I, typename F, typename P = identity)(
- | ^~~~~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/for_each_n.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/for_each_n.hpp:59:34: note: in expansion of macro 'RANGES_FUNC'
- 59 | borrowed_iterator_t<Rng> RANGES_FUNC(for_each_n)(
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/for_each_n.hpp:59:34: note: in expansion of macro 'RANGES_FUNC'
- 59 | borrowed_iterator_t<Rng> RANGES_FUNC(for_each_n)(
- | ^~~~~~~~~~~
- In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/for_each_n.cpp:14:
- ../include/concepts/concepts.hpp:332:35: error: no type named 'type' in 'struct std::enable_if<false, int>'
- 332 | && CPP_BOOL(CPP_true), int> = 0, std::enable_if_t<
- | ^
- ../include/concepts/concepts.hpp:66:35: note: in definition of macro 'CPP_PP_CAT_'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^~~~~~~~~~~
- ../include/concepts/concepts.hpp:298:9: note: in expansion of macro 'CPP_PP_CAT'
- 298 | CPP_PP_CAT(CPP_TEMPLATE_SFINAE_AUX_3_, __VA_ARGS__) && \
- | ^~~~~~~~~~
- ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^
- ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
- 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- ../include/concepts/concepts.hpp:195:17: note: in expansion of macro 'CPP_and_sfinae'
- 195 | #define CPP_and CPP_and_sfinae
- | ^~~~~~~~~~~~~~
- ../include/range/v3/detail/prologue.hpp:37:13: note: in expansion of macro 'CPP_and'
- 37 | #define AND CPP_and
- | ^~~~~~~
- ../include/range/v3/algorithm/for_each_n.hpp:57:39: note: in expansion of macro 'AND'
- 57 | requires input_range<Rng> AND
- | ^~~
- In file included from ../test/algorithm/for_each_n.cpp:16:
- ../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)'
- 44 | CHECK(ranges::for_each_n(v2, 3, &S::p) == v2.begin() + 3);
- | ^
- ../test/algorithm/../simple_test.hpp:163:57: note: in definition of macro 'CHECK_LINE'
- 163 | (void)(::test_impl::S{file, line, #__VA_ARGS__} ->* __VA_ARGS__) \
- | ^~~~~~~~~~~
- ../test/algorithm/for_each_n.cpp:44:5: note: in expansion of macro 'CHECK'
- 44 | CHECK(ranges::for_each_n(v2, 3, &S::p) == v2.begin() + 3);
- | ^~~~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/for_each_n.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/for_each_n.hpp:44:11: note: in expansion of macro 'RANGES_FUNC'
- 44 | I RANGES_FUNC(for_each_n)(I first, iter_difference_t<I> n, F fun, P proj = P{})
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/for_each_n.hpp:44:11: note: in expansion of macro 'RANGES_FUNC'
- 44 | I RANGES_FUNC(for_each_n)(I first, iter_difference_t<I> n, F fun, P proj = P{})
- | ^~~~~~~~~~~
- In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/for_each_n.cpp:14:
- ../include/concepts/concepts.hpp:332:35: error: no type named 'type' in 'struct std::enable_if<false, int>'
- 332 | && CPP_BOOL(CPP_true), int> = 0, std::enable_if_t<
- | ^
- ../include/concepts/concepts.hpp:66:35: note: in definition of macro 'CPP_PP_CAT_'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^~~~~~~~~~~
- ../include/concepts/concepts.hpp:298:9: note: in expansion of macro 'CPP_PP_CAT'
- 298 | CPP_PP_CAT(CPP_TEMPLATE_SFINAE_AUX_3_, __VA_ARGS__) && \
- | ^~~~~~~~~~
- ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^
- ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
- 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- ../include/concepts/concepts.hpp:195:17: note: in expansion of macro 'CPP_and_sfinae'
- 195 | #define CPP_and CPP_and_sfinae
- | ^~~~~~~~~~~~~~
- ../include/range/v3/detail/prologue.hpp:37:13: note: in expansion of macro 'CPP_and'
- 37 | #define AND CPP_and
- | ^~~~~~~
- ../include/range/v3/algorithm/for_each_n.hpp:42:40: note: in expansion of macro 'AND'
- 42 | requires input_iterator<I> AND
- | ^~~
- In file included from ../include/range/v3/range_fwd.hpp:25,
- from ../include/range/v3/iterator/common_iterator.hpp:25,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/for_each_n.cpp:14:
- ../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'
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/for_each_n.hpp:59:34: note: in expansion of macro 'RANGES_FUNC'
- 59 | borrowed_iterator_t<Rng> RANGES_FUNC(for_each_n)(
- | ^~~~~~~~~~~
- ../include/range/v3/detail/config.hpp:632:27: note: template argument deduction/substitution failed:
- 632 | #define RANGES_FUNC(NAME) operator() RANGES_FUNC_CONST_ /**/
- | ^~~~~~~~
- ../include/range/v3/algorithm/for_each_n.hpp:59:34: note: in expansion of macro 'RANGES_FUNC'
- 59 | borrowed_iterator_t<Rng> RANGES_FUNC(for_each_n)(
- | ^~~~~~~~~~~
- In file included from ../include/range/v3/iterator/common_iterator.hpp:23,
- from ../include/range/v3/core.hpp:17,
- from ../test/algorithm/for_each_n.cpp:14:
- ../include/concepts/concepts.hpp:300:16: error: no type named 'type' in 'struct std::enable_if<false, int>'
- 300 | int> = 0> \
- | ^
- ../include/concepts/concepts.hpp:66:30: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_0'
- 66 | #define CPP_PP_CAT_(X, ...) X ## __VA_ARGS__
- | ^
- ../include/concepts/concepts.hpp:67:30: note: in expansion of macro 'CPP_PP_CAT_'
- 67 | #define CPP_PP_CAT(X, ...) CPP_PP_CAT_(X, __VA_ARGS__)
- | ^~~~~~~~~~~
- ../include/concepts/concepts.hpp:289:5: note: in expansion of macro 'CPP_PP_CAT'
- 289 | CPP_PP_CAT( \
- | ^~~~~~~~~~
- ../include/concepts/concepts.hpp:269:27: note: in expansion of macro 'CPP_TEMPLATE_SFINAE_AUX_'
- 269 | #define CPP_TEMPLATE_AUX_ CPP_TEMPLATE_SFINAE_AUX_
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- ../include/range/v3/detail/prologue.hpp:35:26: note: in expansion of macro 'CPP_TEMPLATE_AUX_'
- 35 | template<__VA_ARGS__ CPP_TEMPLATE_AUX_ \
- | ^~~~~~~~~~~~~~~~~
- ../include/range/v3/algorithm/for_each_n.hpp:55:9: note: in expansion of macro 'template'
- 55 | template(typename Rng, typename F, typename P = identity)(
- | ^~~~~~~~
- [184/461] Building CXX object test/algorithm/CMakeFiles/al...ymmetric_difference5.dir/set_symmetric_difference5.cpp.obj
- ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement