A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/algorithm/ranges/../../ranges/elements_of.html below:

std::ranges::elements_of - cppreference.com

Encapsulates a range. Specializations of elements_of act as a tag in overload sets to disambiguate when a range should be treated as a sequence rather than a single value.

[edit] Template parameters R - a type that satisfies range Allocator - an allocator type that meets the requirements of Allocator [edit] Data members Member name Definition a range of type R
(public member object) an allocator of type Allocator. It has default member initializer that value initializes itself
(public member object)

All these members are declared with [[no_unique_address]] attribute.

[edit] Deduction guide template< class R, class Allocator = std::allocator<std::byte> >
elements_of( R&&, Allocator = Allocator() ) -> elements_of<R&&, Allocator>;
(since C++23) [edit] Example [edit] References

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4