std::ranges::transform_view<V,F>::base

從 cppreference.com
 
 
範圍庫
範圍適配器
 
 
constexpr V base() const& requires std::copy_constructible<V>;
(1) (C++20 起)
constexpr V base() &&;
(2) (C++20 起)

返回底層視圖的副本

1) 從底層視圖 base_ 複製構造結果。
2) 從底層視圖 base_ 移動構造結果。

[編輯] 返回值

底層視圖的副本。

[編輯] 示例