id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
C++_Ranges_library/C++_Ranges_library_93_6.txt
t ](/mwiki/index.php?title=cpp/ranges/zip_view&action=edit&section=3 "Edit section: Deduction guides") ] [ Deduction guides ](/w/cpp/ranges/zip_view/deduction_guides "cpp/ranges/zip view/deduction guides") ### [ [ edit ](/mwiki/index.php?title=cpp/ranges/zip_view&action=edit&section=4 "Edit section: Nested classes")...
C++_Ranges_library/C++_Ranges_library_155_9.txt
](/w/cpp/ranges/adjacent_view "cpp/ranges/adjacent view") (C++23) | a [ ` view ` ](/w/cpp/ranges/view "cpp/ranges/view") consisting of tuples of references to adjacent elements of the adapted view (class template) (range adaptor object) [ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/r...
C++_Ranges_library/C++_Ranges_library_153_1.txt
` #elif ` ](/w/cpp/preprocessor/conditional "cpp/preprocessor/conditional") . It is treated as a defined macro by [ ` #ifdef ` ](/w/cpp/preprocessor/conditional "cpp/preprocessor/conditional") , [ ` #ifndef ` ](/w/cpp/preprocessor/conditional "cpp/preprocessor/conditional") , [ ` #elifdef ` ](/w/cpp/preprocessor/condi...
C++_Ranges_library/C++_Ranges_library_95_32.txt
this_parameter) COMPILER_FEATURE_ENTRY(202106L, __cpp_if_consteval) COMPILER_FEATURE_ENTRY(202207L, __cpp_implicit_move) COMPILER_FEATURE_ENTRY(202211L, __cpp_multidimensional_subscript) COMPILER_FEATURE_ENTRY(202207L, __cpp_named_character_escapes) COMPILER_FEATURE_ENTRY(202211L...
C++_Ranges_library/C++_Ranges_library_101_4.txt
xpr auto pairwise_transform = adjacent_transform < 2 > ; } | (3) | (since C++23) Call signature | | template < [ ranges:: viewable_range ](http://en.cppreference.com/w/cpp/ranges/viewable_range) R, class F > requires /* see below */ constexpr [ ranges:: view ](http://en.cppreference.com...
C++_Ranges_library/C++_Ranges_library_10_4.txt
iner/vector/push back") , and [ std::deque::push_front ](/w/cpp/container/deque/push_front "cpp/container/deque/push front") . * Note that [ std::unordered_map::operator[] ](/w/cpp/container/unordered_map/operator_at "cpp/container/unordered map/operator at") also counts, as it may insert an element into th...
C++_Ranges_library/C++_Ranges_library_3_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_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_59_60.txt
r& i, difference_type n) requires random_access_range<Base>; friend constexpr iterator operator+(difference_type n, const iterator& i) requires random_access_range<Base>; friend constexpr iterator operator-(const iterator& i, difference_type n) requires random_access_range<...
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_55_0.txt
The next caveat is that some types subsume others. For example, if you are trying to distinguish between ` int ` and ` double ` , check for ` int ` first, since anything that converts to an ` int ` is also a ` double ` . Share
C++_Ranges_library/C++_Ranges_library_136_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_35_1.txt
gular expression") , which are a kind of mini-language used to perform pattern matching within strings. Almost all operations with regexes can be characterized by operating on several of the following objects: * **Target sequence** . The character sequence that is searched for a pattern. This may be a range specifie...
C++_Ranges_library/C++_Ranges_library_31_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/what-will-be-the-output-of-the-following-c-code--5ab8a41bc56b6664bc9bacdd8_66_0.txt
* Testbook App Download now
C++_Ranges_library/C++_Ranges_library_59_63.txt
constexpr auto end() requires (!__simple_view<V>) { if constexpr (common_range<V> && sized_range<V> && forward_range<V>) { auto missing = (stride_ - [ranges::distance](http://en.cppreference.com/w/cpp/iterator/ranges/distance)(base_) % stride_) % stride_; return iterator<false>(this, [...
C++_Ranges_library/C++_Ranges_library_83_0.txt
##### [ cppreference.com ](/) [ Log in ](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Franges%2Fsized+range "You are encouraged to log in; however, it is not mandatory \[o\]") ##### Namespaces * [ Page ](/w/cpp/ranges/sized_range "View the content page \[c\]") * [ Discussion ](/mwiki/index.php?title=...
C++_Ranges_library/C++_Ranges_library_110_9.txt
](/w/cpp/ranges/adjacent_view "cpp/ranges/adjacent view") (C++23) | a [ ` view ` ](/w/cpp/ranges/view "cpp/ranges/view") consisting of tuples of references to adjacent elements of the adapted view (class template) (range adaptor object) [ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/r...
C++_Ranges_library/C++_Ranges_library_38_6.txt
| ` common_view ` was never a ` borrowed_range ` | it is a ` borrowed_range ` if its underlying view is ### [ [ edit ](/mwiki/index.php?title=cpp/ranges/common_view&action=edit&section=8 "Edit section: See also") ] See also [ ranges::common_range ](/w/cpp/ranges/common_range "cpp/ranges/common range") (C++...
C++_Ranges_library/C++_Ranges_library_11_16.txt
p "cpp/header/map") [ ` <set> ` ](/w/cpp/header/set "cpp/header/set") | (C++14) | [ N3657 ](https://wg21.link/N3657) ` __cpp_lib_generic_ unordered_lookup ` | Heterogeneous comparison lookup in [ unordered associative containers ](/w/cpp/container#Unordered_associative_containers "cpp/container") | 201811L | ...
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_23_0.txt
#include <iostream> using namespace std; int main () { int firstvariable; int secondvariable; float float1; float float2; cout << "Please enter two integers and then press Enter:" << endl; cin >> firstvariable; cin >> seco...
C++_Ranges_library/C++_Ranges_library_59_59.txt
ges::distance](http://en.cppreference.com/w/cpp/iterator/ranges/distance)(base_) % n_) % n_; return iterator<true>(this, [ranges::end](http://en.cppreference.com/w/cpp/ranges-ranges-placeholder/end)(base_), missing); } else if constexpr (common_range<const V> && !bidirectional_range<const V>) { ...
C++_Ranges_library/param-pack.html4_68_0.txt
Note that despite this otimization, ` HList<dummy<0>, dummy<0>, dummy<0>> ` still has size 3 bytes, as seen on line 35 , because each instance of the same type ` dummy<0> ` still needs a unique address. This makes a certain amount of sense. For example, the constructor of ` dummy<0> ` might decide to enter the object...
C++_Ranges_library/C++_Ranges_library_32_8.txt
ias template) [ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/iterator/dsc_const_iterator&action=edit) [ const_sentinel ](/w/cpp/iterator/const_sentinel "cpp/iterator/const sentinel") (C++23) | computes a sentinel type to be used with constant iterators (alias template) [ [edit] ](ht...
C++_Ranges_library/param-pack.html4_80_0.txt
Sometimes you need to convert a runtime constant into a compile-time constant without manually writing out every possible value in a ` switch ` statement. The best way to do this is to initialize an array of function pointers using a parameter pack expansion. As an example, suppose you wish to serialize a ` std::vari...
C++_Ranges_library/C++_Ranges_library_26_7.txt
com/mwiki/images/2/2b/powered_by_geshi_88x31.png) ](http://qbnz.com/highlighter/) [ ![Hosted by Tiger Technologies](//upload.cppreference.com/mwiki/images/9/94/powered_by_tigertech_88x31.png) ](http://www.tigertech.net/referral/cppreference.com)
C++_Ranges_library/C++_Ranges_library_115_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_vie...
C++_Ranges_library/C++_Ranges_library_78_3.txt
/w/cpp/header/scoped_allocator "cpp/header/scoped allocator") | [ ` <type_traits> ` ](/w/cpp/header/type_traits "cpp/header/type traits") [ ` <atomic> ` ](/w/cpp/header/atomic "cpp/header/atomic") | [ ` <forward_list> ` ](/w/cpp/header/forward_list "cpp/header/forward list") | [ ` <random> ` ](/w/cpp/header/random...
C++_Ranges_library/C++_Ranges_library_11_15.txt
| Freestanding std::mdspan | 202311L | [ ` <mdspan> ` ](/w/cpp/header/mdspan "cpp/header/mdspan") | (C++26) | [ P2833R2 ](https://wg21.link/P2833R2) ` __cpp_lib_freestanding_memory ` | Freestanding facilities in [ ` <memory> ` ](/w/cpp/header/memory "cpp/header/memory") | 202306L | [ ` <memory> ` ](/w/c...
C++_Ranges_library/C++_Ranges_library_32_25.txt
} #### [ [ edit ](/mwiki/index.php?title=Template:cpp/synopsis/iterator&action=edit&section=T-40 "Template:cpp/synopsis/iterator") ] Class template [ std::common_iterator ](/w/cpp/iterator/common_iterator "cpp/iterator/common iterator") namespace std { template<input_or_output_iterator I, se...
C++_Ranges_library/C++_Ranges_library_34_6.txt
at a value can be written to an iterator's referenced object (concept) [ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/iterator/dsc_indirectly_writable&action=edit) [ weakly_incrementable ](/w/cpp/iterator/weakly_incrementable "cpp/iterator/weakly incrementable") (C++20) | specifies t...
C++_Ranges_library/C++_Ranges_library_157_13.txt
lib_ranges_to_container ` ](/w/cpp/feature_test#cpp_lib_ranges_to_container "cpp/feature test") | 202202L | (C++23) | std::ranges::to [ ` __cpp_lib_ranges_zip ` ](/w/cpp/feature_test#cpp_lib_ranges_zip "cpp/feature test") | 202110L | (C++23) | std::ranges::zip_view , std::ranges::zip_transform_view , ...
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_112_0.txt
Email Required, but never shown
C++_Ranges_library/C++_Ranges_library_23_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_3_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_83_4.txt
[ 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/sized_range "...
C++_Ranges_library/C++_Ranges_library_11_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_144_6.txt
test") macro | Value | Std | Feature ---|---|---|--- [ ` __cpp_lib_ranges_as_const ` ](/w/cpp/feature_test#cpp_lib_ranges_as_const "cpp/feature test") | 202207L | (C++23) | ` std::ranges::as_const_view ` , std::const_iterator ### [ [ edit ](/mwiki/index.php?title=cpp/ranges/as_const_view&action...
C++_Ranges_library/C++_Ranges_library_3_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_31_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_31_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/param-pack.html4_69_0.txt
` HList ` lets us explore another good example application of ` std::make_index_sequence ` , as well as of our ` is_template ` concept above. Suppose we want to implement an ` apply ` function analogous to ` std::apply ` . We can do this by implementing a ` get ` function, then capturing an integer sequence of list ...
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_65_0.txt
2,396 5 5 gold badges 34 34 silver badges 54 54 bronze badges 5
C++_Ranges_library/C++_Ranges_library_29_27.txt
rary # include <boost/optional.hpp> # else // Not found at all # error "Missing <optional>" # endif #endif   #ifdef __has_cpp_attribute // Check if __has_cpp_attribute is present # if __has_cpp_attribute(deprecated) ...
C++_Ranges_library/what-will-be-the-output-of-the-following-c-code--5ab8a41bc56b6664bc9bacdd8_1_0.txt
More * Pass * Skill Academy * Free Live Classes * Free Live Tests & Quizzes * Previous Year Papers * Doubts * Practice * Refer & Earn * All Exams * Our Selections * Careers
C++_Ranges_library/C++_Ranges_library_11_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/C++_Ranges_library_3_19.txt
[ ` <mdspan> ` ](/w/cpp/header/mdspan "cpp/header/mdspan") | (C++23) | [ P0009R18 ](https://wg21.link/P0009R18) [ P2599R2 ](https://wg21.link/P2599R2) [ P2604R0 ](https://wg21.link/P2604R0) [ P2613R1 ](https://wg21.link/P2613R1) ` __cpp_lib_memory_resource ` | [ std::pmr::memory_resource ](/w/cpp/memory/me...
C++_Ranges_library/C++_Ranges_library_136_5.txt
201510L | (C++17) | [ P0012R1 ](https://wg21.link/P0012R1) ` __cpp_nontype_template_args ` | Allow constant evaluation for all [ non-type template arguments ](/w/cpp/language/template_parameters#Template_non-type_arguments "cpp/language/template parameters") | 201411L | (C++17) | [ N4268 ](https://wg21.lin...
C++_Ranges_library/C++_Ranges_library_9_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/C++_Ranges_library_46_1.txt
comparable_with ](/w/cpp/utility/compare/three_way_comparable "cpp/utility/compare/three way comparable") (C++20) (C++20) [ strong_ordering ](/w/cpp/utility/compare/strong_ordering "cpp/utility/compare/strong ordering") (C++20) [ weak_ordering ](/w/cpp/utility/compare/weak_ordering "cpp/utility/compare/weak orde...
C++_Ranges_library/C++_Ranges_library_51_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_114_14.txt
ru.cppreference.com/w/cpp/ranges "cpp/ranges") * [ 中文 ](http://zh.cppreference.com/w/cpp/ranges "cpp/ranges") * This page was last modified on 23 March 2024, at 06:26. * This page has been accessed 999,598 times. * [ Privacy policy ](/w/Cppreference:Privacy_policy "Cppreference:Privacy policy") * [ About ...
C++_Ranges_library/param-pack.html4_46_0.txt
As always, remember that folds must be parenthesized, and that a bare expression cannot be expanded as a pattern. Neither of the following alternate function bodies for ` multi_insert ` would compile: void(t.insert(std::forward<E>(e))), ...; // error: bad fold t.insert(std::forward<E>(e))...; // er...
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_62_0.txt
From here Share
C++_Ranges_library/C++_Ranges_library_22_2.txt
l: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/concepts/default_initializable "A list of all wiki pages that link here \[j\]") * [ Related changes ](/...
C++_Ranges_library/C++_Ranges_library_3_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/param-pack.html4_75_0.txt
* When you declare a variable as ` auto v = expression ` , the type deduction rules are the same as for templates—meaning ` v ` ’s type will be the non-reference type ` T ` inferred when invoking the template function ` template<typename T> void f(T t) ` with the same expression, i.e., ` f(expression) ` . ...
C++_Ranges_library/C++_Ranges_library_56_8.txt
brt "cpp/numeric/math/cbrt") (since C++11) [ ` ceil() ` ](/w/cpp/numeric/math/ceil "cpp/numeric/math/ceil") [ ` ceilf() ` ](/w/cpp/numeric/math/ceil "cpp/numeric/math/ceil") (since C++11) [ ` ceill() ` ](/w/cpp/numeric/math/ceil "cpp/numeric/math/ceil") (since C++11) [ ` cend<>() ` ](/w/cpp/iterator/end "cpp/it...
C++_Ranges_library/C++_Ranges_library_53_1.txt
tinel_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/elements_of "cpp/range...
C++_Ranges_library/C++_Ranges_library_136_15.txt
| Freestanding std::mdspan | 202311L | [ ` <mdspan> ` ](/w/cpp/header/mdspan "cpp/header/mdspan") | (C++26) | [ P2833R2 ](https://wg21.link/P2833R2) ` __cpp_lib_freestanding_memory ` | Freestanding facilities in [ ` <memory> ` ](/w/cpp/header/memory "cpp/header/memory") | 202306L | [ ` <memory> ` ](/w/c...
C++_Ranges_library/C++_Ranges_library_73_11.txt
pp/header/cmath "cpp/header/cmath") [ ` <cstdlib> ` ](/w/cpp/header/cstdlib "cpp/header/cstdlib") | (C++26) | [ P1383R2 ](https://wg21.link/P1383R2) ` __cpp_lib_constexpr_complex ` | Constexpr for [ std::complex ](/w/cpp/numeric/complex "cpp/numeric/complex") | 201711L | [ ` <complex> ` ](/w/cpp/header/comple...
C++_Ranges_library/C++_Ranges_library_158_4.txt
"s = " << s << '\n'; } Output: ranges::ssize(arr) = 5 ranges::ssize is signed reversed arr: 5 4 3 2 1 s = -1 ### [ [ edit ](/mwiki/index.php?title=cpp/ranges/ssize&action=edit&section=3 "Edit section: Defect reports") ] Defect reports The following behavior-changing defect reports w...
C++_Ranges_library/C++_Ranges_library_95_16.txt
p "cpp/header/map") [ ` <set> ` ](/w/cpp/header/set "cpp/header/set") | (C++14) | [ N3657 ](https://wg21.link/N3657) ` __cpp_lib_generic_ unordered_lookup ` | Heterogeneous comparison lookup in [ unordered associative containers ](/w/cpp/container#Unordered_associative_containers "cpp/container") | 201811L | ...
C++_Ranges_library/C++_Ranges_library_157_7.txt
[ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/dsc_owning_view&action=edit) [ ranges::filter_view views::filter ](/w/cpp/ranges/filter_view "cpp/ranges/filter view") (C++20) | a [ ` view ` ](/w/cpp/ranges/view "cpp/ranges/view") that consists of the elements of a [ ` range ` ](...
C++_Ranges_library/C++_Ranges_library_11_21.txt
view") | 202207L | [ ` <ranges> ` ](/w/cpp/header/ranges "cpp/header/ranges") | (C++23) | [ P2278R4 ](https://wg21.link/P2278R4) Making std::basic_const_iterator follow its underlying type's convertibility | 202311L | [ ` <ranges> ` ](/w/cpp/header/ranges "cpp/header/ranges") | (C++26) | [ P2836R1 ](h...
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_71_0.txt
* @brunocodutra : Was going to post the same thing – boxed__l
C++_Ranges_library/C++_Ranges_library_57_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_22_0.txt
##### [ cppreference.com ](/) [ Log in ](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Fconcepts%2Fdefault+initializable "You are encouraged to log in; however, it is not mandatory \[o\]") ##### Namespaces * [ Page ](/w/cpp/concepts/default_initializable "View the content page \[c\]") * [ Discussion ]...
C++_Ranges_library/C++_Ranges_library_141_38.txt
### Navigation * [ 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/...
C++_Ranges_library/C++_Ranges_library_31_14.txt
d ](/w/cpp/thread/thread/id "cpp/thread/thread/id") and [ ` std::stacktrace ` ](/w/cpp/utility/basic_stacktrace "cpp/utility/basic stacktrace") | 202302L | [ ` <stacktrace> ` ](/w/cpp/header/stacktrace "cpp/header/stacktrace") [ ` <thread> ` ](/w/cpp/header/thread "cpp/header/thread") | (C++23) | [ P2693R1 ](http...
C++_Ranges_library/what-will-be-the-output-of-the-following-c-code--5ab8a41bc56b6664bc9bacdd8_45_0.txt
View All > ISRO Scientist Computer Science Mock Test
C++_Ranges_library/C++_Ranges_library_126_9.txt
s://wg21.link/P2714R1) ` __cpp_lib_bit_cast ` | [ ` std::bit_cast ` ](/w/cpp/numeric/bit_cast "cpp/numeric/bit cast") | 201806L | [ ` <bit> ` ](/w/cpp/header/bit "cpp/header/bit") | (C++20) | [ P0476R2 ](https://wg21.link/P0476R2) ` __cpp_lib_bitops ` | [ Bit operations ](/w/cpp/numeric#Bit_manipulation_.28...
C++_Ranges_library/C++_Ranges_library_70_9.txt
s://wg21.link/P2714R1) ` __cpp_lib_bit_cast ` | [ ` std::bit_cast ` ](/w/cpp/numeric/bit_cast "cpp/numeric/bit cast") | 201806L | [ ` <bit> ` ](/w/cpp/header/bit "cpp/header/bit") | (C++20) | [ P0476R2 ](https://wg21.link/P0476R2) ` __cpp_lib_bitops ` | [ Bit operations ](/w/cpp/numeric#Bit_manipulation_.28...
C++_Ranges_library/C++_Ranges_library_13_2.txt
+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") [ common_view views::common ](/w/cpp/range...
C++_Ranges_library/C++_Ranges_library_109_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_3_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_31_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_57_5.txt
201510L | (C++17) | [ P0012R1 ](https://wg21.link/P0012R1) ` __cpp_nontype_template_args ` | Allow constant evaluation for all [ non-type template arguments ](/w/cpp/language/template_parameters#Template_non-type_arguments "cpp/language/template parameters") | 201411L | (C++17) | [ N4268 ](https://wg21.lin...
C++_Ranges_library/C++_Ranges_library_70_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_83_2.txt
_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/common view") ...
C++_Ranges_library/C++_Ranges_library_104_0.txt
##### [ cppreference.com ](/) [ Log in ](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Fexperimental "You are encouraged to log in; however, it is not mandatory \[o\]") ##### Namespaces * [ Page ](/w/cpp/experimental "View the content page \[c\]") * [ Discussion ](/mwiki/index.php?title=Talk:cpp/exper...
C++_Ranges_library/C++_Ranges_library_134_4.txt
e.com/w/cpp/ranges/borrowed_range) < [ std:: remove_cv_t ](http://en.cppreference.com/w/cpp/types/remove_cv) < T >> is false , or if it is of an array type of unknown bound, the call to ` ranges::end ` is ill-formed, which also results in substitution failure. If [ ranges:: end ](http://en.cppreference.com/w/cpp...
C++_Ranges_library/what-will-be-the-output-of-the-following-c-code--5ab8a41bc56b6664bc9bacdd8_67_0.txt
* Current Affairs Download now
C++_Ranges_library/C++_Ranges_library_91_3.txt
permutation") | [ is_permutation ](/w/cpp/algorithm/is_permutation "cpp/algorithm/is permutation") (C++11) --- [ C library ](/w/cpp/algorithm#C_library "cpp/algorithm") | [ qsort ](/w/cpp/algorithm/qsort "cpp/algorithm/qsort") --- | [ bsearch ](/w/cpp/algorithm/bsearch "cpp...
C++_Ranges_library/C++_Ranges_library_31_5.txt
201510L | (C++17) | [ P0012R1 ](https://wg21.link/P0012R1) ` __cpp_nontype_template_args ` | Allow constant evaluation for all [ non-type template arguments ](/w/cpp/language/template_parameters#Template_non-type_arguments "cpp/language/template parameters") | 201411L | (C++17) | [ N4268 ](https://wg21.lin...
C++_Ranges_library/C++_Ranges_library_31_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_78_4.txt
ecvt") | (since C++11) (deprecated in C++17) (removed in C++26) C++ headers for C library facilities --- [ ` <cassert> ` ](/w/cpp/header/cassert "cpp/header/cassert") | [ ` <clocale> ` ](/w/cpp/header/clocale "cpp/header/clocale") | [ ` <cstdarg> ` ](/w/cpp/header/cstdarg "cpp/header/cstdarg") | [ ` <cstri...
C++_Ranges_library/C++_Ranges_library_124_2.txt
) [ ` optional ` ](/w/cpp/utility/optional "cpp/utility/optional") (C++17) [ ` expected ` ](/w/cpp/utility/expected "cpp/utility/expected") (C++23) [ ` variant ` ](/w/cpp/utility/variant "cpp/utility/variant") (C++17) − [ ` any ` ](/w/cpp/utility/any "cpp/utility/any") (C++17) [ String conversions ](/w/cpp/uti...
C++_Ranges_library/C++_Ranges_library_8_2.txt
++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") [ common_view views::common ](/w/cpp/ranges/common...
C++_Ranges_library/C++_Ranges_library_136_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_141_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_99_5.txt
| | | | | Make ` **()** ` more optional for [ lambdas ](/w/cpp/language/lambda "cpp/language/lambda") | [ P1102R2 ](https://wg21.link/P1102R2) | 11 | 13 | | 13.1.6* | 6.3 | 2022.2 | | | | | | | | [ ` if consteval ` ](/w/cpp/language/if#Consteval_if "cpp/language/if") | [ P1938R3 ](https:...
C++_Ranges_library/C++_Ranges_library_37_3.txt
drop_while_view/navbar_content&action=edit) Defined in header ` [ <ranges> ](/w/cpp/header/ranges "cpp/header/ranges") ` | | ---|---|--- template < [ ranges:: view ](http://en.cppreference.com/w/cpp/ranges/view) V, class Pred > requires [ ranges:: input_range ](http://en.cppreference.com/w/cpp/ranges/in...
C++_Ranges_library/C++_Ranges_library_157_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/C++_Ranges_library_130_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_130_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_125_0.txt
0 How to correctly compare output of typeid(...).name() to character type in C++?
C++_Ranges_library/C++_Ranges_library_140_22.txt
n. | MIT | cmake [ Open CASCADE ](https://www.opencascade.com/content/core-technology) | SDK for 3D CAD/CAM/CAE applications | | [ OpenGL ](https://www.opengl.org/) | 3D language, graphics and SDK for developing 3D applications. | | [ OpenSceneGraph ](https://www.openscenegraph.com/) | OpenSceneGrap...
C++_Ranges_library/C++_Ranges_library_71_6.txt
w/cpp/ranges/common_range "cpp/ranges/common range") . (public member function of ` std::ranges::view_interface<D> ` ) [ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/view_interface/dsc_back&action=edit) [ operator[] ](/w/cpp/ranges/view_interface/operator_at "cpp/ranges/view int...
C++_Ranges_library/C++_Ranges_library_70_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_0_11.txt
edit&redlink=1 "cpp/thread/make hazard pointer \(page does not exist\)") (C++26) | constructs a hazard pointer (function) [ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/thread/dsc_make_hazard_pointer&action=edit) (since C++26) ### [ [ edit ](/mwiki/index.php?title=cpp/thread&act...