GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::move_sentinel(3) C++ Standard Libary std::move_sentinel(3)

std::move_sentinel - std::move_sentinel


Defined in header <iterator>
template< std::semiregular S > (since C++20)
class move_sentinel;


std::move_sentinel is a sentinel adaptor used for denoting ranges together with
std::move_iterator.


S - the type of underlying sentinel


constructor constructs a new move_sentinel
(C++20) (public member function)
operator= assigns the contents of one move_sentinel to another
(C++20) (public member function)
base return a copy of the underlying sentinel
(C++20) (public member function)


Member name Definition
last (private member object) underlying sentinel, the name is for exposition only


Notes: These functions are hidden friends of std::move_iterator and invisible to
ordinary unqualified or qualified lookup.


operator==(std::move_sentinel) compares the underlying iterator and the underlying
(C++20) sentinel
(function template)
operator-(std::move_sentinel) computes the distance between the underlying iterator
(C++20) and the underlying sentinel
(function template)


This section is incomplete
Reason: no example


move_iterator iterator adaptor which dereferences to an rvalue reference
(C++11) (class template)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.