Namespaces
Variants
Actions

deduction guides for std::ranges::common_view

From cppreference.com
< cpp‎ | ranges‎ | common view
 
C++
 
Ranges library
Range adaptors
 
std::ranges::common_view
Defined in header <ranges>
template< class R >
common_view( R&& ) -> common_view<views::all_t<R>>;
(since C++20)

The deduction guide is provided for std::ranges::common_view to allow deduction from range.

[edit] Example

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant