A RetroSearch Logo

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

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../../cpp/header/experimental/ranges/utility.html below:

Experimental library header <experimental/ranges/utility> - cppreference.com

This header is part of the ranges library.

[edit] Utility components swaps the value of two objects
(customization point object)[edit] replaces the argument with a new value and returns its previous value
(function template) [edit] [edit] Tag concepts [edit] Tagged pairs [edit] Synopsis
namespace std { namespace experimental { namespace ranges { inline namespace v1 {
 
namespace {
  constexpr /* unspecified */ swap = /* unspecified */;
} 
 
template<MoveConstructible T, class U = T>
  requires Assignable<T&, U>
constexpr T exchange(T& obj, U&& new_val) noexcept(/* see definition */);
 
template <class T>
concept bool TagSpecifier = /* see definition */;
 
template <class F>
concept bool TaggedType = /* see definition */;
 
template <class Base, TagSpecifier... Tags>
  requires sizeof...(Tags) <= std::tuple_size<Base>::value
struct tagged;
 
template <TaggedType T1, TaggedType T2>
using tagged_pair = /* see definition */;
 
template <TagSpecifier Tag1, TagSpecifier Tag2, class T1, class T2>
constexpr /* see definition */ make_tagged_pair(T1&& x, T2&& y);
 
}}}}
 
namespace std {
 
template <class Base, class... Tags>
struct tuple_size<experimental::ranges::tagged<Base, Tags...>>;
 
template <size_t N, class Base, class... Tags>
struct tuple_element<N, experimental::ranges::tagged<Base, Tags...>>;
 
}

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