Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      deduction guides forstd::ranges::join_with_view

      From cppreference.com
      <cpp‎ |ranges‎ |join with view
       
       
      Ranges library
      Range adaptors
       
       
      Defined in header<ranges>
      template<class R,class P>
      join_with_view( R&&, P&&)-> join_with_view<views::all_t<R>,views::all_t<P>>;
      (1)(since C++23)
      template<class R>

      join_with_view( R&&,ranges::range_value_t<ranges::range_reference_t<R>>)
         -> join_with_view<views::all_t<R>,
                           ranges::single_view<

                               ranges::range_value_t<ranges::range_reference_t<R>>>;
      (2)(since C++23)

      Thesededuction guides are provided forjoin_with_view to allow deduction from a range and a delimiter.

      1) The delimiter is a range of elements.
      2) The delimiter is a single element.

      [edit]Example

      This section is incomplete
      Reason: no example
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/ranges/join_with_view/deduction_guides&oldid=173687"

      [8]ページ先頭

      ©2009-2025 Movatter.jp