libycxx

function object

std::ranges::views::concat

Header
<ranges>
Scope
std::ranges::views
cppreference
<ranges> nearest page

Synopsis

inline constexpr /* implementation-defined */ concat = {};

Call signatures

concat is a function object; these are its call operators as libycxx declares them, written as the functions the draft declares.

  1. template<class... Es>
      requires (sizeof...(Es) == 1 && (std::ranges::input_range<Es> && ...) &&
                 requires { std::views::all(std::declval<Es>()...); }) ||
                requires { std::ranges::concat_view(std::declval<Es>()...); }
    [[nodiscard]] constexpr auto concat(Es&&... es);
    (1)