id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
C++_Ranges_library/C++_Ranges_library_78_10.txt | /w/cpp/language/move_constructor "cpp/language/move constructor") . Move operations can either be explicitly specified or implicitly generated. Unless otherwise specified, such moved-from objects will be placed in a valid but unspecified state. An object of a type defined in the C++ standard library may be [ move-assi... | |
C++_Ranges_library/C++_Ranges_library_80_7.txt | ned version of the argument type.
### [ [ edit
](/mwiki/index.php?title=cpp/ranges/iota_view&action=edit§ion=4 "Edit
section: Deduction guides") ] Deduction guides
template < class W, class Bound >
requires ( ! /* is-integer-like */ < W >
|| ! /* is-integer-like */ < Bound >
|| /* is-signed... | |
C++_Ranges_library/C++_Ranges_library_31_36.txt | or/end)(cxx11_core), add);
if (print.cxx98) [std::for_each](http://en.cppreference.com/w/cpp/algorithm/for_each)([std::begin](http://en.cppreference.com/w/cpp/iterator/begin)(cxx98_core), [std::end](http://en.cppreference.com/w/cpp/iterator/end)(cxx98_core), add);
[std::snprintf](http://en.cppre... | |
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_120_0.txt | * The [connect] tag is being burninated
#### Linked | |
C++_Ranges_library/C++_Ranges_library_153_26.txt | ](/w/cpp/header/tuple "cpp/header/tuple") [ ` <utility> ` ](/w/cpp/header/utility "cpp/header/utility") | (C++14) | [ N3670 ](https://wg21.link/N3670)
` __cpp_lib_type_identity ` | std::type_identity | 201806L | [ ` <type_traits> ` ](/w/cpp/header/type_traits "cpp/header/type traits") | (C++20) | [ P0887R1... | |
C++_Ranges_library/C++_Ranges_library_154_3.txt | rations ](/w/cpp/algorithm#Permutation_operations
"cpp/algorithm")
| [ next_permutation ](/w/cpp/algorithm/next_permutation "cpp/algorithm/next
permutation")
---
[ prev_permutation ](/w/cpp/algorithm/prev_permutation "cpp/algorithm/prev
permutation")
| [ is_permutation ](/w/cpp/algorithm/is_permut... | |
C++_Ranges_library/C++_Ranges_library_144_3.txt | A range adaptor that represents a view of underlying [ ` view `
](/w/cpp/ranges/view "cpp/ranges/view") that is also a [ ` constant_range `
](/w/cpp/ranges/constant_range "cpp/ranges/constant range") . An `
as_const_view ` always has read-only elements (if not empty).
2) [ RangeAdaptorObject ](/w/cpp/named_req/Rang... | |
C++_Ranges_library/C++_Ranges_library_59_35.txt | equires copy_constructible<V> { return base_; }
constexpr V base() && { return std::move(base_); }
constexpr auto begin() {
constexpr bool use_const = __simple_view<V> &&
is_reference_v<InnerRng>;
return iterator<use_const>{*this, [ranges::b... | |
C++_Ranges_library/C++_Ranges_library_43_1.txt | acktrace> ` ](/w/cpp/header/stacktrace "cpp/header/stacktrace") (C++23)
| [ ` <cassert> ` ](/w/cpp/header/cassert "cpp/header/cassert")
---
| [ ` <cerrno> ` ](/w/cpp/header/cerrno "cpp/header/cerrno")
---
| [ ` <system_error> ` ](/w/cpp/header/system_error "cpp/header/system
error") (C... | |
C++_Ranges_library/C++_Ranges_library_12_3.txt | tion
* [ Support us ](http://www.cppreference.com/support)
* [ Recent changes ](/w/Special:RecentChanges "A list of recent changes in the wiki \[r\]")
* [ FAQ ](/w/Cppreference:FAQ)
* [ Offline version ](/w/Cppreference:Archives)
##### Toolbox
* [ What links here ](/w/Special:WhatLinksHere/cpp/ranges/outp... | |
C++_Ranges_library/C++_Ranges_library_64_22.txt | https://wg21.link/P1206R7)
` __cpp_lib_ranges_zip ` | std::ranges::zip_view , std::ranges::zip_transform_view , std::ranges::adjacent_view , std::ranges::adjacent_transform_view | 202110L | [ ` <ranges> ` ](/w/cpp/header/ranges "cpp/header/ranges") [ ` <tuple> ` ](/w/cpp/header/tuple "cpp/header/tuple") [ ... | |
C++_Ranges_library/C++_Ranges_library_43_6.txt | e> ](/w/cpp/header/cctype "cpp/header/cctype") | [ Functions to determine the category of narrow characters ](/w/cpp/string/byte "cpp/string/byte") [ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/header/dsc_cctype&action=edit)
[ <charconv> ](/w/cpp/header/charconv "cpp/header/charconv") (C+... | |
C++_Ranges_library/C++_Ranges_library_127_3.txt | -
[ is_constant_evaluated ](/w/cpp/types/is_constant_evaluated "cpp/types/is constant evaluated") (C++20) | detects whether the call occurs within a constant-evaluated context
(function) [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/types/dsc_is_constant_evaluated&action=edit)
[ i... | |
C++_Ranges_library/param-pack.html4_91_0.txt | 2. See my previous blog post on value categories for an explanation of why string literals are lvalues and what a prvalue is. â©ï¸
| |
C++_Ranges_library/what-will-be-the-output-of-the-following-c-code--5ab8a41bc56b6664bc9bacdd8_10_0.txt | }
This question was previously asked in | |
C++_Ranges_library/C++_Ranges_library_31_24.txt | 21.link/P1227R2)
` __cpp_lib_sstream_ from_string_view ` | Interfacing [ std::stringstream ](/w/cpp/io/basic_stringstream "cpp/io/basic stringstream") s with [ std::string_view ](/w/cpp/string/basic_string_view "cpp/string/basic string view") | 202306L | [ ` <sstream> ` ](/w/cpp/header/sstream "cpp/header/sstr... | |
C++_Ranges_library/C++_Ranges_library_111_1.txt | const_iterator_t sentinel_t const_sentinel_t
](/w/cpp/ranges/iterator_t "cpp/ranges/iterator t") (C++23) (C++23)
---
| [ range_const_reference_t range_rvalue_reference_t
range_common_reference_t ](/w/cpp/ranges/iterator_t "cpp/ranges/iterator t")
(C++23)
---
| [ elements_of ](/w/cpp/ranges... | |
C++_Ranges_library/C++_Ranges_library_111_5.txt | concepts/copy_constructible) < T > ; | | (since C++23)
constexpr explicit single_view ( T && t ) ; | (3) | (since C++20)
template < class ... Args >
requires [ std:: constructible_from
](http://en.cppreference.com/w/cpp/concepts/constructible_from) < T, Args...
>
constexpr explicit singl... | |
C++_Ranges_library/C++_Ranges_library_73_35.txt | return x.supported();
}));
}
[std::printf](http://en.cppreference.com/w/cpp/io/c/fprintf)("%td)\n", [std::distance](http://en.cppreference.com/w/cpp/iterator/distance)([std::begin](http://en.cppreference.com/w/cpp/iterator/begin)(co), [std::end](http://... | |
C++_Ranges_library/C++_Ranges_library_11_8.txt | set> ` ](/w/cpp/header/unordered_set "cpp/header/unordered set") | (C++26) | [ P2363R5 ](https://wg21.link/P2363R5)
` __cpp_lib_assume_aligned ` | [ std::assume_aligned ](/w/cpp/memory/assume_aligned "cpp/memory/assume aligned") | 201811L | [ ` <memory> ` ](/w/cpp/header/memory "cpp/header/memory") | (C++20) ... | |
C++_Ranges_library/C++_Ranges_library_129_2.txt | oin_with_view
"cpp/ranges/join with view") (C++23) (C++23)
[ lazy_split_view views::lazy_split ](/w/cpp/ranges/lazy_split_view
"cpp/ranges/lazy split view")
[ split_view views::split ](/w/cpp/ranges/split_view "cpp/ranges/split
view")
[ views::counted ](/w/cpp/ranges/view_counted "cpp/ranges/view counted") ... | |
C++_Ranges_library/C++_Ranges_library_57_30.txt | que_object_representations)
COMPILER_FEATURE_ENTRY(201603L, __cpp_lib_hypot)
COMPILER_FEATURE_ENTRY(201505L, __cpp_lib_incomplete_container_elements)
COMPILER_FEATURE_ENTRY(201411L, __cpp_lib_invoke)
COMPILER_FEATURE_ENTRY(201703L, __cpp_lib_is_aggregate)
COMPILER_FEATURE_ENTRY(2... | |
C++_Ranges_library/C++_Ranges_library_31_31.txt | 01907L, __cpp_lib_barrier)
COMPILER_FEATURE_ENTRY(201907L, __cpp_lib_bind_front)
COMPILER_FEATURE_ENTRY(201806L, __cpp_lib_bit_cast)
COMPILER_FEATURE_ENTRY(201907L, __cpp_lib_bitops)
COMPILER_FEATURE_ENTRY(201902L, __cpp_lib_bounded_array_traits)
COMPILER_FEATURE_ENTRY(201907L, _... | |
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_98_0.txt | Add a comment |
-5 | |
C++_Ranges_library/C++_Ranges_library_153_34.txt | COMPILER_FEATURE_ENTRY(202306L, __cpp_lib_not_fn)
COMPILER_FEATURE_ENTRY(202311L, __cpp_lib_out_ptr)
COMPILER_FEATURE_ENTRY(202311L, __cpp_lib_ranges_as_const)
COMPILER_FEATURE_ENTRY(202306L, __cpp_lib_ratio)
COMPILER_FEATURE_ENTRY(202306L, __cpp_lib_rcu)
COMPILER_FEATURE... | |
C++_Ranges_library/C++_Ranges_library_57_10.txt | ](https://wg21.link/P2592R3)
` __cpp_lib_chrono_udls ` | [ User-defined literals for time types ](/w/cpp/chrono/duration#Literals "cpp/chrono/duration") | 201304L | [ ` <chrono> ` ](/w/cpp/header/chrono "cpp/header/chrono") | (C++14) | [ N3642 ](https://wg21.link/N3642)
` __cpp_lib_clamp ` | [ std::clamp ]... | |
C++_Ranges_library/C++_Ranges_library_130_4.txt | gory "cpp/language/value category") | 201606L | (C++17) | [ P0135R1 ](https://wg21.link/P0135R1)
` __cpp_hex_float ` | [ Hexadecimal floating literals ](/w/cpp/language/floating_literal "cpp/language/floating literal") | 201603L | (C++17) | [ P0245R1 ](https://wg21.link/P0245R1)
` __cpp_if_consteval ` | ... | |
C++_Ranges_library/C++_Ranges_library_31_0.txt | ##### [ cppreference.com ](/)
[ Log in
](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Ffeature+test "You
are encouraged to log in; however, it is not mandatory \[o\]")
##### Namespaces
* [ Page ](/w/cpp/feature_test "View the content page \[c\]")
* [ Discussion ](/w/Talk:cpp/feature_test "Discussion ... | |
C++_Ranges_library/C++_Ranges_library_110_4.txt | he size of a range
(customization point object) [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/dsc_ssize&action=edit)
[ ranges::empty ](/w/cpp/ranges/empty "cpp/ranges/empty") (C++20) | checks whether a range is empty
(customization point object) [ [edit]
](https://en.cppr... | |
C++_Ranges_library/C++_Ranges_library_29_25.txt | on "cpp/language/operator comparison") (library support); adding three-way comparison to the library | 201907L | [ ` <compare> ` ](/w/cpp/header/compare "cpp/header/compare") | (C++20) | [ P0768R1 ](https://wg21.link/P0768R1)
[ P1614R2 ](https://wg21.link/P1614R2)
` __cpp_lib_to_address ` | Utility to conv... | |
C++_Ranges_library/C++_Ranges_library_142_4.txt | ranges:: range_value_t
](http://en.cppreference.com/w/cpp/ranges/iterator_t) < Pattern >>
* [ std:: common_reference_with ](http://en.cppreference.com/w/cpp/concepts/common_reference_with) < [ ranges:: range_reference_t ](http://en.cppreference.com/w/cpp/ranges/iterator_t) < [ ranges:: range_reference_t ](h... | |
C++_Ranges_library/C++_Ranges_library_36_2.txt | view views::lazy_split ](/w/cpp/ranges/lazy_split_view
"cpp/ranges/lazy split view")
[ split_view views::split ](/w/cpp/ranges/split_view "cpp/ranges/split
view")
[ views::counted ](/w/cpp/ranges/view_counted "cpp/ranges/view counted")
[ common_view views::common ](/w/cpp/ranges/common_view "cpp/ranges/com... | |
C++_Ranges_library/C++_Ranges_library_62_1.txt | erator_t "cpp/ranges/iterator t")
---
| [ iterator_t const_iterator_t sentinel_t const_sentinel_t
](/w/cpp/ranges/iterator_t "cpp/ranges/iterator t") (C++23) (C++23)
---
| [ range_const_reference_t range_rvalue_reference_t
range_common_reference_t ](/w/cpp/ranges/iterator_t "cpp/ranges/iterator t"... | |
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_142_0.txt | #### Hot Network Questions
* how to tidy up a table
* What is this 4-pin fan header?
* Feasible compact fusion power source
* Do i have to sign a new offer letter after working almost three months
* What is the source of this cheesy quote?
* Sci-fi streaming series where a mother hides a portal from ... | |
C++_Ranges_library/C++_Ranges_library_32_6.txt | an [ ` indirectly_writable ` ](/w/cpp/iterator/indirectly_writable "cpp/iterator/indirectly writable") type and that the move may be performed via an intermediate object
(concept) [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/iterator/dsc_indirectly_movable_storable&action=edit)
[ ind... | |
C++_Ranges_library/C++_Ranges_library_130_7.txt | 3) | [ P0401R6 ](https://wg21.link/P0401R6)
[ P2652R2 ](https://wg21.link/P2652R2)
[ LWG3887 ](https://wg21.link/LWG3887)
` __cpp_lib_allocator_ traits_is_always_equal ` | [ ` std::allocator_traits::is_always_equal ` ](/w/cpp/memory/allocator_traits "cpp/memory/allocator traits") | 201411L | [ ` <memory> ... | |
C++_Ranges_library/C++_Ranges_library_154_6.txt | ges::min ](/w/cpp/algorithm/ranges/min "cpp/algorithm/ranges/min")
---
[ ranges::min_element ](/w/cpp/algorithm/ranges/min_element
"cpp/algorithm/ranges/min element")
| [ ranges::minmax ](/w/cpp/algorithm/ranges/minmax
"cpp/algorithm/ranges/minmax")
---
[ ranges::minmax_element ](/w/cpp/algorithm/rang... | |
C++_Ranges_library/C++_Ranges_library_43_4.txt | e/date utilities ](/w/cpp/chrono/c "cpp/chrono/c") [ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/header/dsc_ctime&action=edit)
[ <debugging> ](/w/cpp/header/debugging "cpp/header/debugging") (C++26) | Debugging library [ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Templat... | |
C++_Ranges_library/C++_Ranges_library_95_31.txt | 01907L, __cpp_lib_barrier)
COMPILER_FEATURE_ENTRY(201907L, __cpp_lib_bind_front)
COMPILER_FEATURE_ENTRY(201806L, __cpp_lib_bit_cast)
COMPILER_FEATURE_ENTRY(201907L, __cpp_lib_bitops)
COMPILER_FEATURE_ENTRY(201902L, __cpp_lib_bounded_array_traits)
COMPILER_FEATURE_ENTRY(201907L, _... | |
C++_Ranges_library/C++_Ranges_library_6_3.txt | pp/string&action=edit§ion=9 "Edit
section: See also") ] See also
[ C documentation ](/w/c/string "c/string") for Strings library
---
Retrieved from " [
https://en.cppreference.com/mwiki/index.php?title=cpp/string&oldid=169497
](https://en.cppreference.com/mwiki/index.php?title=cpp/string&oldid=169497) "
... | |
C++_Ranges_library/C++_Ranges_library_107_0.txt | ##### [ cppreference.com ](/)
[ Log in
](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Franges%2Fforward+range
"You are encouraged to log in; however, it is not mandatory \[o\]")
##### Namespaces
* [ Page ](/w/cpp/ranges/forward_range "View the content page \[c\]")
* [ Discussion ](/mwiki/index.php?ti... | |
C++_Ranges_library/C++_Ranges_library_97_4.txt | >> &&
[ ranges:: sized_range ](http://en.cppreference.com/w/cpp/ranges/sized_range) < __maybe_const < Const, Vs >> ) ) ; | (3) | ( exposition only* )
template < class R >
concept __cartesian_product_common_arg =
[ ranges:: common_range
](http://en.cppreference.com/w/cpp/ranges/common_range) <... | |
C++_Ranges_library/C++_Ranges_library_7_4.txt | he size of a range
(customization point object) [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/dsc_ssize&action=edit)
[ ranges::empty ](/w/cpp/ranges/empty "cpp/ranges/empty") (C++20) | checks whether a range is empty
(customization point object) [ [edit]
](https://en.cppr... | |
C++_Ranges_library/C++_Ranges_library_130_3.txt | https://wg21.link/P1668R1)
Changing the active member of a union in constant evaluation | 202002L | (C++20) | [ P1330R0 ](https://wg21.link/P1330R0)
[ P2493R0 ](https://wg21.link/P2493R0)
Non- [ literal ](/w/cpp/named_req/LiteralType "cpp/named req/LiteralType") variables, labels, and [ ` goto ` ](/w/cpp/l... | |
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_106_0.txt | But avoid …
* Asking for help, clarification, or responding to other answers.
* Making statements based on opinion; back them up with references or personal experience. | |
C++_Ranges_library/C++_Ranges_library_18_8.txt | range adaptor object) [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/dsc_lazy_split_view&action=edit)
[ views::counted ](/w/cpp/ranges/view_counted "cpp/ranges/view counted") (C++20) | creates a subrange from an iterator and a count
(customization point object) [ [edit]
](htt... | |
C++_Ranges_library/C++_Ranges_library_83_1.txt | or_t const_iterator_t sentinel_t const_sentinel_t
](/w/cpp/ranges/iterator_t "cpp/ranges/iterator t") (C++23) (C++23)
---
| [ range_const_reference_t range_rvalue_reference_t
range_common_reference_t ](/w/cpp/ranges/iterator_t "cpp/ranges/iterator t")
(C++23)
---
| [ elements_of ](/w/cpp/ra... | |
C++_Ranges_library/C++_Ranges_library_43_3.txt | e following collection
of headers.
|
## Contents
* 1 Concepts library
* 2 Coroutines library
* 3 Utilities library
* 3.1 Dynamic memory management
* 3.2 Numeric limits
* 3.3 Error handling
* 4 Strings library
* 5 Containers library
* 6 Iterators library
* 7 Ranges librar... | |
C++_Ranges_library/C++_Ranges_library_82_0.txt | ##### [ cppreference.com ](/)
[ Log in
](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Falgorithm%2Franges
"You are encouraged to log in; however, it is not mandatory \[o\]")
##### Namespaces
* [ Page ](/w/cpp/algorithm/ranges "View the content page \[c\]")
* [ Discussion ](/w/Talk:cpp/algorithm/range... | |
C++_Ranges_library/C++_Ranges_library_113_0.txt | ##### [ cppreference.com ](/)
[ Log in
](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Franges%2Fdata "You
are encouraged to log in; however, it is not mandatory \[o\]")
##### Namespaces
* [ Page ](/w/cpp/ranges/data "View the content page \[c\]")
* [ Discussion ](/mwiki/index.php?title=Talk:cpp/range... | |
C++_Ranges_library/C++_Ranges_library_10_13.txt | [ | ` insert `
--- ](/w/cpp/container/set/insert "cpp/container/set/insert") [ | ` insert `
--- ](/w/cpp/container/multiset/insert "cpp/container/multiset/insert") [ | ` insert `
--- ](/w/cpp/container/map/insert "cpp/container/map/insert") [ | ` insert `
--- ](/w/cpp/container/multimap/insert "cpp/containe... | |
C++_Ranges_library/C++_Ranges_library_140_5.txt | ke, conan
[ libnavajo ](https://github.com/titi38/libnavajo) | A C++ framework including a fast multithreaded http server, HTML5 Websockets, SSL, X509 and HTTP authentification, compression, cookies and advanced session management, IPv4 and IPv6 (CeCILL-C). | CeCILL-C FREE SOFTWARE LICENSE AGREEMENT | cmake
... | |
C++_Ranges_library/C++_Ranges_library_150_8.txt | set> ` ](/w/cpp/header/unordered_set "cpp/header/unordered set") | (C++26) | [ P2363R5 ](https://wg21.link/P2363R5)
` __cpp_lib_assume_aligned ` | [ std::assume_aligned ](/w/cpp/memory/assume_aligned "cpp/memory/assume aligned") | 201811L | [ ` <memory> ` ](/w/cpp/header/memory "cpp/header/memory") | (C++20) ... | |
C++_Ranges_library/C++_Ranges_library_70_13.txt | ") | (C++20) | [ P1001R2 ](https://wg21.link/P1001R2)
` __cpp_lib_expected ` | class template std::expected | 202202L | [ ` <expected> ` ](/w/cpp/header/expected "cpp/header/expected") | (C++23) | [ P0323R12 ](https://wg21.link/P0323R12)
Monadic functions for std::expected | 202211L | [ ` <expected... | |
C++_Ranges_library/C++_Ranges_library_23_1.txt | ](/w/cpp/ranges/iterator_t "cpp/ranges/iterator t")
(C++23)
---
| [ elements_of ](/w/cpp/ranges/elements_of "cpp/ranges/elements of")
(C++23)
---
[ Dangling iterator handling ](/w/cpp/ranges#Dangling_iterator_handling
"cpp/ranges")
| [ dangling ](/w/cpp/ranges/dangling "cpp/... | |
C++_Ranges_library/C++_Ranges_library_158_3.txt | ecltype ( [ ranges:: size ](http://en.cppreference.com/w/cpp/ranges/size) ( t ) ) , if it is wider than [ std::ptrdiff_t ](/w/cpp/types/ptrdiff_t "cpp/types/ptrdiff t") , or
* [ std::ptrdiff_t ](/w/cpp/types/ptrdiff_t "cpp/types/ptrdiff t") otherwise.
If [ ranges:: size ](http://en.cppreference.com/w/c... | |
C++_Ranges_library/C++_Ranges_library_41_2.txt | [ split_view views::split ](/w/cpp/ranges/split_view "cpp/ranges/split
view")
[ views::counted ](/w/cpp/ranges/view_counted "cpp/ranges/view counted")
[ common_view views::common ](/w/cpp/ranges/common_view "cpp/ranges/common
view")
| [ reverse_view views::reverse ](/w/cpp/ranges/reverse_view
"cp... | |
C++_Ranges_library/C++_Ranges_library_61_4.txt | :FAQ)
* [ Offline version ](/w/Cppreference:Archives)
##### Toolbox
* [ What links here ](/w/Special:WhatLinksHere/cpp/ranges/range "A list of all wiki pages that link here \[j\]")
* [ Related changes ](/w/Special:RecentChangesLinked/cpp/ranges/range "Recent changes in pages linked from this page \[k\]")
* [... | |
C++_Ranges_library/C++_Ranges_library_150_22.txt | https://wg21.link/P1206R7)
` __cpp_lib_ranges_zip ` | std::ranges::zip_view , std::ranges::zip_transform_view , std::ranges::adjacent_view , std::ranges::adjacent_transform_view | 202110L | [ ` <ranges> ` ](/w/cpp/header/ranges "cpp/header/ranges") [ ` <tuple> ` ](/w/cpp/header/tuple "cpp/header/tuple") [ ... | |
C++_Ranges_library/C++_Ranges_library_69_2.txt | lazy split view")
[ split_view views::split ](/w/cpp/ranges/split_view "cpp/ranges/split
view")
[ views::counted ](/w/cpp/ranges/view_counted "cpp/ranges/view counted")
[ common_view views::common ](/w/cpp/ranges/common_view "cpp/ranges/common
view")
| [ reverse_view views::reverse ](/w/cpp/ran... | |
C++_Ranges_library/C++_Ranges_library_132_0.txt | ##### [ cppreference.com ](/)
[ Log in
](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Franges%2Fsplit+view
"You are encouraged to log in; however, it is not mandatory \[o\]")
##### Namespaces
* [ Page ](/w/cpp/ranges/split_view "View the content page \[c\]")
* [ Discussion ](/w/Talk:cpp/ranges/split_... | |
C++_Ranges_library/C++_Ranges_library_64_33.txt | RE_ENTRY(202110L, __cpp_lib_ranges_zip)
COMPILER_FEATURE_ENTRY(202202L, __cpp_lib_reference_from_temporary)
COMPILER_FEATURE_ENTRY(202202L, __cpp_lib_shift)
COMPILER_FEATURE_ENTRY(202106L, __cpp_lib_spanstream)
COMPILER_FEATURE_ENTRY(202011L, __cpp_lib_stacktrace)
COMPILER_FEATUR... | |
C++_Ranges_library/C++_Ranges_library_136_37.txt | pe 2017-11 = 2017-11
... truncated ...
C++14 CORE (9/9)
__cpp_aggregate_nsdmi 2013-04 = 2013-04
__cpp_binary_literals 2013-04 = 2013-04
__cpp_constexpr 2022-11 > 2013-04
... truncated ..... | |
C++_Ranges_library/C++_Ranges_library_73_6.txt | ents ](/w/cpp/language/template_parameters#Template_template_arguments "cpp/language/template parameters") | 201611L | (C++17) | [ P0522R0 ](https://wg21.link/P0522R0)
` __cpp_threadsafe_static_init ` | [ Dynamic initialization and destruction with concurrency ](/w/cpp/language/storage_duration#Static_local_var... | |
C++_Ranges_library/param-pack.html4_24_0.txt | A unary right fold has the form ` (pat ` â ` ...) ` and is equivalent to
p 1 â ` ( ` p 2 â ` ( ` â¯â ââ p n ` )) ` .
Note that parentheses are always required around a fold, regardless of
context. | |
C++_Ranges_library/C++_Ranges_library_128_0.txt | ##### [ cppreference.com ](/)
[ Log in ](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Franges "You
are encouraged to log in; however, it is not mandatory \[o\]")
##### Namespaces
* [ Page ](/w/cpp/ranges "View the content page \[c\]")
* [ Discussion ](/mwiki/index.php?title=Talk:cpp/ranges&action=edi... | |
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_90_0.txt | Follow
answered Jun 20, 2020 at 14:11 | |
C++_Ranges_library/C++_Ranges_library_105_0.txt | ##### [ cppreference.com ](/)
[ Create account
](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Futility%2Foptional%29&type=signup)
* [ Log in ](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Futility%2Foptional%29 "You are encouraged to log in; however, it is not mandatory \[o\]")
##### Namespac... | |
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_74_0.txt | Add a comment |
1 | |
C++_Ranges_library/C++_Ranges_library_126_30.txt | que_object_representations)
COMPILER_FEATURE_ENTRY(201603L, __cpp_lib_hypot)
COMPILER_FEATURE_ENTRY(201505L, __cpp_lib_incomplete_container_elements)
COMPILER_FEATURE_ENTRY(201411L, __cpp_lib_invoke)
COMPILER_FEATURE_ENTRY(201703L, __cpp_lib_is_aggregate)
COMPILER_FEATURE_ENTRY(2... | |
C++_Ranges_library/C++_Ranges_library_155_10.txt | duct_view "cpp/ranges/cartesian product view") (C++23) | a [ ` view ` ](/w/cpp/ranges/view "cpp/ranges/view") consisting of tuples of results calculated by the n-ary cartesian product of the adapted views
(class template) (customization point object) [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=T... | |
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_37_0.txt |
#include <iostream>
#include <string>
int main() {
std::string theInput;
int inputAsInt;
std::getline(std::cin, theInput);
while(std::cin.fail() || std::cin.eof() || theInput.find_first_not_of("0123456789") != std::string::npos) {
... | |
C++_Ranges_library/C++_Ranges_library_130_17.txt | ader/functional") | (C++17) | [ N4169 ](https://wg21.link/N4169)
` __cpp_lib_invoke_r ` | [ ` std::invoke_r ` ](/w/cpp/utility/functional/invoke "cpp/utility/functional/invoke") | 202106L | [ ` <functional> ` ](/w/cpp/header/functional "cpp/header/functional") | (C++23) | [ P2136R3 ](https://wg21.link/P2136... | |
C++_Ranges_library/C++_Ranges_library_70_8.txt | set> ` ](/w/cpp/header/unordered_set "cpp/header/unordered set") | (C++26) | [ P2363R5 ](https://wg21.link/P2363R5)
` __cpp_lib_assume_aligned ` | [ std::assume_aligned ](/w/cpp/memory/assume_aligned "cpp/memory/assume aligned") | 201811L | [ ` <memory> ` ](/w/cpp/header/memory "cpp/header/memory") | (C++20) ... | |
C++_Ranges_library/C++_Ranges_library_64_12.txt | r/vector") | 201907L | [ ` <vector> ` ](/w/cpp/header/vector "cpp/header/vector") | (C++20) | [ P1004R2 ](https://wg21.link/P1004R2)
` __cpp_lib_containers_ranges ` | [ Ranges-aware ](/w/cpp/ranges/to#container_compatible_range "cpp/ranges/to") construction and insertion for containers and strings | 202202L ... | |
C++_Ranges_library/C++_Ranges_library_21_2.txt | ---
[ Random Numbers ](/w/cpp/named_req#Random_Number_Generation "cpp/named req")
| [ SeedSequence ](/w/cpp/named_req/SeedSequence "cpp/named
req/SeedSequence") (C++11)
---
[ RandomNumberEngine ](/w/cpp/named_req/RandomNumberEngine "cpp/named
req/RandomNumberEngine") (C++11)
| [ RandomNumberDistribu... | |
C++_Ranges_library/C++_Ranges_library_10_26.txt | or_cmp "cpp/container/vector/operator cmp") [ | ` operator>= `
--- ](/w/cpp/container/deque/operator_cmp "cpp/container/deque/operator cmp") [ | ` operator>= `
--- ](/w/cpp/container/forward_list/operator_cmp "cpp/container/forward list/operator cmp") [ | ` operator>= `
--- ](/w/cpp/container/list/operator_cmp... | |
C++_Ranges_library/C++_Ranges_library_45_0.txt | ##### [ cppreference.com ](/)
[ Log in
](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Franges%2Frbegin "You
are encouraged to log in; however, it is not mandatory \[o\]")
##### Namespaces
* [ Page ](/w/cpp/ranges/rbegin "View the content page \[c\]")
* [ Discussion ](/mwiki/index.php?title=Talk:cpp/r... | |
C++_Ranges_library/C++_Ranges_library_82_6.txt | w/cpp/algorithm/ranges/min_element
"cpp/algorithm/ranges/min element")
| [ ranges::minmax ](/w/cpp/algorithm/ranges/minmax
"cpp/algorithm/ranges/minmax")
---
[ ranges::minmax_element ](/w/cpp/algorithm/ranges/minmax_element
"cpp/algorithm/ranges/minmax element")
| [ ranges::clamp ](/w/cpp/algorithm/r... | |
C++_Ranges_library/C++_Ranges_library_25_5.txt |
(public member function) [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/adaptor/dsc_end&action=edit)
[ size ](/w/cpp/ranges/take_view/size "cpp/ranges/take view/size") (C++20) | returns the number of elements. Provided only if the underlying (adapted) range satisfies [ ` sized_r... | |
C++_Ranges_library/C++_Ranges_library_0_1.txt | /recursive timed mutex") (C++11)
[ shared_timed_mutex ](/w/cpp/thread/shared_timed_mutex "cpp/thread/shared
timed mutex") (C++14)
[ Generic lock management ](/w/cpp/thread#Generic_mutex_management
"cpp/thread")
| [ lock_guard ](/w/cpp/thread/lock_guard "cpp/thread/lock guard") (C++11)
---
[ scoped_lock ... | |
C++_Ranges_library/C++_Ranges_library_152_0.txt | ##### [ cppreference.com ](/)
[ Log in
](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Franges%2Fjoin+view
"You are encouraged to log in; however, it is not mandatory \[o\]")
##### Namespaces
* [ Page ](/w/cpp/ranges/join_view "View the content page \[c\]")
* [ Discussion ](/mwiki/index.php?title=Talk... | |
C++_Ranges_library/C++_Ranges_library_153_4.txt | gory "cpp/language/value category") | 201606L | (C++17) | [ P0135R1 ](https://wg21.link/P0135R1)
` __cpp_hex_float ` | [ Hexadecimal floating literals ](/w/cpp/language/floating_literal "cpp/language/floating literal") | 201603L | (C++17) | [ P0245R1 ](https://wg21.link/P0245R1)
` __cpp_if_consteval ` | ... | |
C++_Ranges_library/C++_Ranges_library_10_9.txt | (/w/cpp/container/flat_set/end "cpp/container/flat set/end") [ | ` end `
---
` cend ` ](/w/cpp/container/flat_multiset/end "cpp/container/flat multiset/end") [ | ` end `
---
` cend ` ](/w/cpp/container/flat_map/end "cpp/container/flat map/end") [ | ` end `
---
` cend ` ](/w/cpp/container/flat_multimap/en... | |
C++_Ranges_library/C++_Ranges_library_11_33.txt | RE_ENTRY(202110L, __cpp_lib_ranges_zip)
COMPILER_FEATURE_ENTRY(202202L, __cpp_lib_reference_from_temporary)
COMPILER_FEATURE_ENTRY(202202L, __cpp_lib_shift)
COMPILER_FEATURE_ENTRY(202106L, __cpp_lib_spanstream)
COMPILER_FEATURE_ENTRY(202011L, __cpp_lib_stacktrace)
COMPILER_FEATUR... | |
C++_Ranges_library/C++_Ranges_library_73_7.txt | 3) | [ P0401R6 ](https://wg21.link/P0401R6)
[ P2652R2 ](https://wg21.link/P2652R2)
[ LWG3887 ](https://wg21.link/LWG3887)
` __cpp_lib_allocator_ traits_is_always_equal ` | [ ` std::allocator_traits::is_always_equal ` ](/w/cpp/memory/allocator_traits "cpp/memory/allocator traits") | 201411L | [ ` <memory> ... | |
C++_Ranges_library/C++_Ranges_library_34_8.txt | ject) [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/iterator/ranges/dsc_iter_swap&action=edit)
### [ [ edit ](/mwiki/index.php?title=cpp/iterator&action=edit§ion=12
"Edit section: Algorithm concepts and utilities \(since C++20\)") ] Algorithm
concepts and utilities (since C++20)... | |
C++_Ranges_library/C++_Ranges_library_85_3.txt | iterator/iterator "cpp/ranges/elements
view/iterator/iterator")
[ elements_view:: _iterator_ ::base
](/w/cpp/ranges/elements_view/iterator/base "cpp/ranges/elements
view/iterator/base")
[ elements_view:: _iterator_ ::operator*
](/w/cpp/ranges/elements_view/iterator/operator* "cpp/ranges/elements
view/iterator/opera... | |
C++_Ranges_library/what-will-be-the-output-of-the-following-c-code--5ab8a41bc56b6664bc9bacdd8_18_0.txt | ST 1: ISRO Scientist - Digital logic
0.7 K Users | |
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_42_0.txt | – brunocodutra
Sep 10, 2013 at 21:14 | |
C++_Ranges_library/C++_Ranges_library_127_5.txt | an be converted
(class template) [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/utility/compare/dsc_common_comparison_category&action=edit)
[ strong_order ](/w/cpp/utility/compare/strong_order "cpp/utility/compare/strong order") (C++20) | performs 3-way comparison and produces a resu... | |
C++_Ranges_library/C++_Ranges_library_70_20.txt | 0307R2 ](https://wg21.link/P0307R2)
Fully ` constexpr ` [ std::optional ](/w/cpp/utility/optional "cpp/utility/optional") | 202106L | [ ` <optional> ` ](/w/cpp/header/optional "cpp/header/optional") | (C++20)
(DR) | [ P2231R1 ](https://wg21.link/P2231R1)
[ Monadic operations ](/w/cpp/utility/optional#Mona... | |
C++_Ranges_library/C++_Ranges_library_99_23.txt | on ](/mwiki/index.php?title=cpp/compiler_support&printable=yes "Printable version of this page \[p\]")
* [ Permanent link ](/mwiki/index.php?title=cpp/compiler_support&oldid=168917 "Permanent link to this revision of the page")
* [ Page information ](/mwiki/index.php?title=cpp/compiler_support&action=info)
* In ... | |
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_69_0.txt | * 2
@crush the OP wants to check wheter the input is an integral value not a
digit . | |
C++_Ranges_library/C++_Ranges_library_5_3.txt | input/output operations
(class template) [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/io/dsc_basic_spanstream&action=edit)
Defined in header ` [ <strstream> ](/w/cpp/header/strstream
"cpp/header/strstream") `
[ strstreambuf ](/w/cpp/io/strstreambuf "cpp/io/strstreambuf") (deprecate... | |
C++_Ranges_library/C++_Ranges_library_40_7.txt | terator") (C++23) | the iterator type when V models [ ` forward_range ` ](/w/cpp/ranges/forward_range "cpp/ranges/forward range") (2)
( exposition-only member class template* )
### [ [ edit
](/mwiki/index.php?title=cpp/ranges/chunk_view&action=edit§ion=5 "Edit
section: Helper templates") ] Helper t... | |
C++_Ranges_library/what-will-be-the-output-of-the-following-c-code--5ab8a41bc56b6664bc9bacdd8_54_0.txt | Q9. A constructor in C++ is called whenever -
Q10. C++ was originally developed by | |
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_4_0.txt | * Meta Stack Overflow
### your communities | |
C++_Ranges_library/C++_Ranges_library_150_26.txt | ](/w/cpp/header/tuple "cpp/header/tuple") [ ` <utility> ` ](/w/cpp/header/utility "cpp/header/utility") | (C++14) | [ N3670 ](https://wg21.link/N3670)
` __cpp_lib_type_identity ` | std::type_identity | 201806L | [ ` <type_traits> ` ](/w/cpp/header/type_traits "cpp/header/type traits") | (C++20) | [ P0887R1... | |
C++_Ranges_library/C++_Ranges_library_136_13.txt | ") | (C++20) | [ P1001R2 ](https://wg21.link/P1001R2)
` __cpp_lib_expected ` | class template std::expected | 202202L | [ ` <expected> ` ](/w/cpp/header/expected "cpp/header/expected") | (C++23) | [ P0323R12 ](https://wg21.link/P0323R12)
Monadic functions for std::expected | 202211L | [ ` <expected... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.