id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
C++_Ranges_library/C++_Ranges_library_3_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_59_31.txt
tor_t<Base>, iterator_t<Base>>; }; } #### [ [ edit ](/mwiki/index.php?title=Template:cpp/synopsis/ranges&action=edit&section=T-35 "Template:cpp/synopsis/ranges") ] Class template std::ranges::transform_view::sentinel namespace std::ranges { template<input_range V, move_constructible F>...
C++_Ranges_library/C++_Ranges_library_57_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_128_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_88_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_0_2.txt
ge does not exist\)") (C++26) [ hazard_pointer ](/mwiki/index.php?title=cpp/thread/hazard_pointer&action=edit&redlink=1 "cpp/thread/hazard pointer \(page does not exist\)") (C++26) [ make_hazard_pointer ](/mwiki/index.php?title=cpp/thread/make_hazard_pointer&action=edit&redlink=1 "cpp/thread/make hazard pointer \(p...
C++_Ranges_library/C++_Ranges_library_114_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_64_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_128_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_138_2.txt
ges/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") | [ reverse_vi...
C++_Ranges_library/C++_Ranges_library_106_0.txt
##### [ cppreference.com ](/) [ Log in ](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Franges%2Fbidirectional+range "You are encouraged to log in; however, it is not mandatory \[o\]") ##### Namespaces * [ Page ](/w/cpp/ranges/bidirectional_range "View the content page \[c\]") * [ Discussion ](/mwiki/...
C++_Ranges_library/C++_Ranges_library_81_7.txt
_split_view&oldid=157810 "Permanent link to this revision of the page") * [ Page information ](/mwiki/index.php?title=cpp/ranges/lazy_split_view&action=info) * In other languages * [ Deutsch ](http://de.cppreference.com/w/cpp/ranges/lazy_split_view "cpp/ranges/lazy split view") * [ Español ](http://es.cppref...
C++_Ranges_library/C++_Ranges_library_130_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_150_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_141_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_69_4.txt
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 interface/operator at") (C++20) | returns the n th element in the derived view. Provided if it satisfies [ ` rando...
C++_Ranges_library/C++_Ranges_library_149_2.txt
s/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") | [ reverse_view...
C++_Ranges_library/C++_Ranges_library_95_18.txt
e") ) | 202306L | [ ` <type_traits> ` ](/w/cpp/header/type_traits "cpp/header/type traits") | (C++26) | [ P2641R4 ](https://wg21.link/P2641R4) ` __cpp_lib_jthread ` | [ Stop token ](/w/cpp/thread/stop_token "cpp/thread/stop token") and [ joining thread ](/w/cpp/thread/jthread "cpp/thread/jthread") | 201911L ...
C++_Ranges_library/C++_Ranges_library_34_12.txt
f_iterator "cpp/iterator/istreambuf iterator") | input iterator that reads from [ std::basic_streambuf ](/w/cpp/io/basic_streambuf "cpp/io/basic streambuf") (class template) [ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/iterator/dsc_istreambuf_iterator&action=edit) [ ostreambuf_itera...
C++_Ranges_library/C++_Ranges_library_145_3.txt
nguage/expressions#Expression-equivalence "cpp/language/expressions") to [ ranges:: data ](http://en.cppreference.com/w/cpp/ranges-ranges-placeholder/data) ( static_cast < CT && > ( t ) ) . The return type is equivalent to [ std:: remove_reference_t ](http://en.cppreference.com/w/cpp/types/remove_referenc...
C++_Ranges_library/C++_Ranges_library_91_8.txt
h_iter&action=edit) ### [ [ edit ](/mwiki/index.php?title=cpp/algorithm&action=edit&section=7 "Edit section: Modifying sequence operations") ] Modifying sequence operations #### [ [ edit ](/mwiki/index.php?title=cpp/algorithm&action=edit&section=8 "Edit section: Copy operations") ] Copy operations Defined in...
C++_Ranges_library/C++_Ranges_library_31_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_70_28.txt
xpect }, #endif   #define COMPILER_SPECIFIC_STRING(value) #value #define COMPILER_SPECIFIC_ENTRY(name) { #name, COMPILER_SPECIFIC_STRING(name) },   class CompilerFeature { char const* name_; long data_; long std_; public: constexpr CompilerFeature(char const* name, long d...
C++_Ranges_library/C++_Ranges_library_18_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_31_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_39_1.txt
_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/ranges/elements of") (C++23) --- ...
C++_Ranges_library/C++_Ranges_library_15_1.txt
_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/ranges/elements of") (C++23) --- [ Dangling iterator handling ](/w/cpp/ranges#Dangling_iterator_handling "cpp/ra...
C++_Ranges_library/C++_Ranges_library_101_6.txt
transform_view&action=edit&section=2 "Edit section: Deduction guides") ] Deduction guides (none) ### [ [ edit ](/mwiki/index.php?title=cpp/ranges/adjacent_transform_view&action=edit&section=3 "Edit section: Member types") ] Member types Member type | Definition ---|--- ` _InnerView_ ` (private) | [ range...
C++_Ranges_library/C++_Ranges_library_56_45.txt
l") (since C++11) [ ` wcstoumax() ` ](/w/cpp/string/wide/wcstoimax "cpp/string/wide/wcstoimax") (since C++11) [ ` wcsub_match ` ](/w/cpp/regex/sub_match "cpp/regex/sub match") (since C++11) [ ` wcsxfrm() ` ](/w/cpp/string/wide/wcsxfrm "cpp/string/wide/wcsxfrm") [ ` wctob() ` ](/w/cpp/string/multibyte/wctob "cpp...
C++_Ranges_library/C++_Ranges_library_36_3.txt
e whether a [ ` range ` ](/w/cpp/ranges/range "cpp/ranges/range") is a ` borrowed_range ` . The primary template is defined as false . ## Contents * 1 Semantic requirements * 2 Specializations * 3 Example * 4 See also --- ### [ [ edit ](/mwiki/index.php?title=cpp/ranges/borrowed_range&act...
C++_Ranges_library/C++_Ranges_library_3_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_59_66.txt
l<Const, First, Vs...>; constexpr iterator operator--(int) requires __cartesian_product_is_bidirectional<Const, First, Vs...>;   constexpr iterator& operator+=(difference_type x) requires __cartesian_product_is_random_access<Const, First, Vs...>; constexpr iterator& opera...
C++_Ranges_library/param-pack.html4_39_0.txt
#include <algorithm> #include <array> #include <concepts> #include <initializer_list> #include <iostream> #include <memory> #include <string> #include <tuple> #include <type_traits> #include <utility> #include <variant> ## Recursing over argument lists
C++_Ranges_library/C++_Ranges_library_91_22.txt
constructs objects by [ value-initialization ](/w/cpp/language/value_initialization "cpp/language/value initialization") in an uninitialized area of memory, defined by a range (niebloid) [ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/memory/ranges/dsc_uninitialized_value_construct&action=...
C++_Ranges_library/C++_Ranges_library_102_6.txt
or to the end. Equivalent to if constexpr ([ranges::common_range](http://en.cppreference.com/w/cpp/ranges/common_range)<V>) return /* iterator */{*this, [ranges::end](http://en.cppreference.com/w/cpp/ranges-ranges-placeholder/end)(base_)}; else return /* sentinel */{*this}; ### [ [ ...
C++_Ranges_library/C++_Ranges_library_129_1.txt
ange_value_t range_reference_t ](/w/cpp/ranges/iterator_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 ...
C++_Ranges_library/C++_Ranges_library_32_11.txt
ance "cpp/iterator/distance") | returns the distance between two iterators (function template) [ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/iterator/dsc_distance&action=edit) [ next ](/w/cpp/iterator/next "cpp/iterator/next") (C++11) | increment an iterator (function template) ...
C++_Ranges_library/C++_Ranges_library_59_38.txt
// exposition only using InnerBase = range_reference_t<Base>; // exposition only using PatternBase = __maybe_const<Const, Pattern>; // exposition only   using OuterIter = iterator_t<Base>; // expo...
C++_Ranges_library/C++_Ranges_library_43_7.txt
ader/map "cpp/header/map") | [ std::map ](/w/cpp/container/map "cpp/container/map") and [ std::multimap ](/w/cpp/container/multimap "cpp/container/multimap") associative containers [ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/header/dsc_map&action=edit) [ <mdspan> ](/w/cpp/header/mdspa...
C++_Ranges_library/C++_Ranges_library_47_4.txt
About "Cppreference:About") * [ Disclaimers ](/w/Cppreference:General_disclaimer "Cppreference:General disclaimer") * [ ![Powered by MediaWiki](/mwiki/skins/common/images/poweredby_mediawiki_88x31.png) ](//www.mediawiki.org/) [ ![Powered by GeSHi](//upload.cppreference.com/mwiki/images/2/2b/powered_by_geshi_88x31....
C++_Ranges_library/C++_Ranges_library_51_2.txt
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 "cpp/ranges/reverse view") --- [ as_const_view views::as_const ](/w/cpp/ranges/as_const_...
C++_Ranges_library/C++_Ranges_library_109_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_41_3.txt
nt) < T > ) (since C++23) , if ` T ` is an array type with a known bound. 2. Otherwise, [ ` _decay-copy_ ` ](/w/cpp/standard_library/decay-copy "cpp/standard library/decay-copy") ( t. size ( ) ) (until C++23) auto ( t. size ( ) ) (since C++23) , if [ ranges:: disable_sized_range ](http://en.cpp...
C++_Ranges_library/C++_Ranges_library_153_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_2_6.txt
/subrange") (C++20) | combines an iterator-sentinel pair into a [ ` view ` ](/w/cpp/ranges/view "cpp/ranges/view") (class template) [ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/dsc_subrange&action=edit) ### [ [ edit ](/mwiki/index.php?title=cpp/ranges&action=edit&section=...
C++_Ranges_library/C++_Ranges_library_146_0.txt
##### [ cppreference.com ](/) [ Log in ](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Franges%2Fcopyable+wrapper "You are encouraged to log in; however, it is not mandatory \[o\]") ##### Namespaces * [ Page ](/w/cpp/ranges/copyable_wrapper "View the content page \[c\]") * [ Discussion ](/mwiki/index....
C++_Ranges_library/C++_Ranges_library_112_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_126_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/checking-cin-input-stream-produces-an-integer9_8_0.txt
3. Tags 4. 5. Users
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_48_0.txt
* 1 It should be noted that if the input were something like 10abc then cin.fail will return false. The 10 would get parsed as an int and the abc portion will remain in the stream waiting to be read.
C++_Ranges_library/C++_Ranges_library_109_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_139_2.txt
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 "cpp/ranges/reverse view") --- [ as_const_view views::as_const ](/w/cpp/ranges/as_const_...
C++_Ranges_library/C++_Ranges_library_67_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_70_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_157_11.txt
> ) return const_cast < const R & > ( r ) ; else return r ; } | (1) | ( exposition only* ) ---|---|--- template < class T > constexpr auto /* as-const-pointer */ ( const T * p ) noexcept { return p ; } | (2) | ( exposition only* ) | | Some range access ...
C++_Ranges_library/C++_Ranges_library_46_5.txt
filesystem") ` __cpp_lib_flat_map ` | 202207L | [ ` <flat_map> ` ](/w/cpp/header/flat_map "cpp/header/flat map") ` __cpp_lib_flat_set ` | 202207L | [ ` <flat_set> ` ](/w/cpp/header/flat_set "cpp/header/flat set") ` __cpp_lib_format ` | 202311L | [ ` <format> ` ](/w/cpp/header/format "cpp/header/format") ...
C++_Ranges_library/C++_Ranges_library_83_3.txt
d_range ` for cv- unqualified program-defined types. Such specializations shall be usable in [ constant expressions ](/w/cpp/language/constant_expression "cpp/language/constant expression") and have type const bool . ## Contents * 1 Semantic requirements * 2 Notes * 3 Example * 4 See also --- ...
C++_Ranges_library/checking-cin-input-stream-produces-an-integer9_21_0.txt
17 I was typing this and it asks the user to input two integers which will then become variables. From there it will carry out simple operations.
C++_Ranges_library/C++_Ranges_library_53_6.txt
( r ) , [ std:: forward ](http://en.cppreference.com/w/cpp/utility/forward) < Args > ( args ) ... ) . 3,4) Returns a perfect forwarding call wrapper that is also a [ RangeAdaptorClosureObject ](/w/cpp/named_req/RangeAdaptorClosureObject "cpp/named req/RangeAdaptorClosureObject") . 5) The exposition-only ...
C++_Ranges_library/C++_Ranges_library_139_5.txt
s [ ` input_iterator ` ](/w/cpp/iterator/input_iterator "cpp/iterator/input iterator") (concept) [ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/dsc_input_range&action=edit) [ ranges::output_range ](/w/cpp/ranges/output_range "cpp/ranges/output range") (C++20) | specifies a ran...
C++_Ranges_library/C++_Ranges_library_130_18.txt
e") ) | 202306L | [ ` <type_traits> ` ](/w/cpp/header/type_traits "cpp/header/type traits") | (C++26) | [ P2641R4 ](https://wg21.link/P2641R4) ` __cpp_lib_jthread ` | [ Stop token ](/w/cpp/thread/stop_token "cpp/thread/stop token") and [ joining thread ](/w/cpp/thread/jthread "cpp/thread/jthread") | 201911L ...
C++_Ranges_library/C++_Ranges_library_140_31.txt
command line interfaces in modern C++. | [ BSL-1.0 ](https://github.com/daniele77/cli/blob/master/LICENSE) | header-only; cmake, make, nmake, vcpkg [ cwidget ](https://salsa.debian.org/cwidget-team) | A high-level terminal interface library for C++, modeled on GTK+ and Qt, but using [ curses ](https://en.wikiped...
C++_Ranges_library/C++_Ranges_library_140_6.txt
/socket pool/resolver | Apache 2.0 | header-only; cmake [ tacopie ](https://github.com/Cylix/tacopie/) | A C++11 TCP Library | MIT | cmake [ TAO ](https://www.dre.vanderbilt.edu/~schmidt/TAO.html) | CORBA | | [ taox11 ](https://www.taox11.org) | A C++11 based CORBA implementation | MIT | [ U...
C++_Ranges_library/C++_Ranges_library_56_2.txt
locate_shared "cpp/memory/shared ptr/allocate shared") (since C++11) [ ` allocate_shared_for_overwrite<>() ` ](/w/cpp/memory/shared_ptr/allocate_shared "cpp/memory/shared ptr/allocate shared") (since C++20) [ ` allocation_result ` ](/w/cpp/memory/allocation_result "cpp/memory/allocation result") <> (since C++23) ...
C++_Ranges_library/C++_Ranges_library_76_2.txt
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/ranges/r...
C++_Ranges_library/C++_Ranges_library_142_3.txt
w/iterator/iterator") [ join_with_view:: _iterator_ ::operator* ](/w/cpp/ranges/join_with_view/iterator/operator* "cpp/ranges/join with view/iterator/operator*") [ join_with_view:: _iterator_ ::operator++ join_with_view:: _iterator_ ::operator++ (int) join_with_view:: _iterator_ ::operator-- join_with_view::...
C++_Ranges_library/C++_Ranges_library_153_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_27_0.txt
##### [ cppreference.com ](/) [ Create account ](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Franges%2Fdrop+view&type=signup) * [ Log in ](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Franges%2Fdrop+view "You are encouraged to log in; however, it is not mandatory \[o\]") ##### Namespaces ...
C++_Ranges_library/C++_Ranges_library_70_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/checking-cin-input-stream-produces-an-integer9_122_0.txt
-4 Type of user input C++
C++_Ranges_library/C++_Ranges_library_109_28.txt
xpect }, #endif   #define COMPILER_SPECIFIC_STRING(value) #value #define COMPILER_SPECIFIC_ENTRY(name) { #name, COMPILER_SPECIFIC_STRING(name) },   class CompilerFeature { char const* name_; long data_; long std_; public: constexpr CompilerFeature(char const* name, long d...
C++_Ranges_library/C++_Ranges_library_80_1.txt
_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/elements_of "cp...
C++_Ranges_library/C++_Ranges_library_155_3.txt
s::iota ` ](/w/cpp/ranges/iota_view "cpp/ranges/iota view") The ranges library includes [ range algorithms ](/w/cpp/algorithm/ranges "cpp/algorithm/ranges") , which are applied to ranges eagerly, and [ range adaptors ](/w/cpp/ranges#Range_adaptors "cpp/ranges") , which are applied to views lazily. Adaptors can be comp...
C++_Ranges_library/C++_Ranges_library_76_0.txt
##### [ cppreference.com ](/) [ Log in ](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Franges%2Fcrbegin "You are encouraged to log in; however, it is not mandatory \[o\]") ##### Namespaces * [ Page ](/w/cpp/ranges/crbegin "View the content page \[c\]") * [ Discussion ](/mwiki/index.php?title=Talk:cpp...
C++_Ranges_library/C++_Ranges_library_85_8.txt
weredby_mediawiki_88x31.png) ](//www.mediawiki.org/) [ ![Powered by GeSHi](//upload.cppreference.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/refe...
C++_Ranges_library/C++_Ranges_library_49_1.txt
able "cpp/concepts/equality comparable") [ totally_ordered totally_ordered_with ](/w/cpp/concepts/totally_ordered "cpp/concepts/totally ordered") Object concepts [ movable ](/w/cpp/concepts/movable "cpp/concepts/movable") [ copyable ](/w/cpp/concepts/copyable "cpp/concepts/copyable") [ semiregular ](/w/c...
C++_Ranges_library/C++_Ranges_library_91_20.txt
| similar to [ std::partial_sum ](/w/cpp/algorithm/partial_sum "cpp/algorithm/partial sum") , includes the i th input element in the i th sum (function template) [ [edit] ](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/algorithm/dsc_inclusive_scan&action=edit) [ transform_reduce ](/w/cpp...
C++_Ranges_library/C++_Ranges_library_56_24.txt
/w/cpp/types/is_standard_layout "cpp/types/is standard layout") <> (since C++17) [ ` is_swappable ` ](/w/cpp/types/is_swappable "cpp/types/is swappable") <> (since C++17) [ ` is_swappable_v ` ](/w/cpp/types/is_swappable "cpp/types/is swappable") <> (since C++17) [ ` is_swappable_with ` ](/w/cpp/types/is_swappable...
C++_Ranges_library/C++_Ranges_library_57_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/C++_Ranges_library_59_46.txt
ference_type n) const requires random_access_range<Base> { return __get_element(current_ + n); }   friend constexpr bool operator==(const iterator& x, const iterator& y) requires equality_comparable<iterator_t<Base>>;   friend constexpr bool operator<(const iterator& ...
C++_Ranges_library/C++_Ranges_library_3_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_109_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_98_4.txt
---|--- | | ` empty_view ` does not reference any element. ## std::ranges::empty_view:: size static constexpr [ std:: size_t ](http://en.cppreference.com/w/cpp/types/size_t) size ( ) noexcept { return 0 ; } | | (since C++20) ---|---|--- | | ` empty_view ` is always empty. ## st...
mapbox_expressions_layers/mapbox-gl-style-line-color-based-on-property-text-value5_9_0.txt
6. Companies 7. Labs
mapbox_expressions_layers/mapbox_expressions_49_0.txt
## case ​ Selects the first output whose corresponding test condition evaluates to true, or the fallback value otherwise. ### Syntax ["case", condition: boolean, output: OutputType, condition: boolean, output: OutputType, ..., fallback: OutputType ]: O...
mapbox_expressions_layers/mapbox_expressions_1_0.txt
## On this page * Data expressions * Camera expressions * Composition * Types * array * boolean * collator * format * image * literal * number * number-format * object * string * to-boolean * to-color * to-number * to-string * typeo...
mapbox_expressions_layers/types2_20_0.txt
Boolean means yes or no, so it accepts the values ` true ` or ` false ` . { "fill-enabled": true }
mapbox_expressions_layers/mapbox_layers_21_0.txt
## heatmap ​ A ` heatmap ` style layer renders a range of colors to represent the density of points in an area. [ This visualization of earthquake data ](https://docs.mapbox.com/mapbox-gl- js/example/heatmap-layer/) uses a heatmap layer with carefully defined [ paint ](/style-spec/reference/layers/#paint-property...
mapbox_expressions_layers/mapbox_expressions_28_0.txt
## properties ​ Returns the feature properties object. Note that in some cases, it may be more efficient to use ` ["get", "property_name"] ` directly. ### Syntax ["properties"]: object clipboard SDK Support | Mapbox GL JS | Android SDK | iOS SDK ---|---|---|--- basic functional...
mapbox_expressions_layers/mapbox-gl-style-line-color-based-on-property-text-value5_10_0.txt
8. Discussions 9. Collectives
mapbox_expressions_layers/mapbox_expressions_24_0.txt
## feature-state ​ Retrieves a property value from the current feature's state. Returns ` null ` if the requested property is not present on the feature's state. A feature's state is not part of the GeoJSON or vector tile data, and must be set programmatically on each feature. Features are identified by their ` id...
mapbox_expressions_layers/mapbox_layers_15_0.txt
## fill ​ A ` fill ` style layer renders one or more filled (and optionally stroked) polygons on a map. You can use a fill layer to configure the visual appearance of polygon or multipolygon features. This map of Washington, D.C. uses the [ ` fill-opacity ` ](/style- spec/reference/layers/#paint-fill-fill-opacity...
mapbox_expressions_layers/mapbox_expressions_18_0.txt
## to-color ​ Converts the input value to a color. If multiple values are provided, each one is evaluated in order until the first successful conversion is obtained. If none of the inputs can be converted, the expression is an error. ### Syntax ["to-color", value, fallback: value, fallback: value,...
mapbox_expressions_layers/types2_14_0.txt
The ` formatted ` type is a string broken into sections annotated with separate formatting options. Format options are listed in the documentation for the format expression. { "text-field": ["format", "foo", { "font-scale": 1.2 }, "bar", { "font-scale": 0.8 } ...
mapbox_expressions_layers/mapbox-gl-style-line-color-based-on-property-text-value5_31_0.txt
662 8 8 silver badges 17 17 bronze badges Add a comment |
mapbox_expressions_layers/mapbox-gl-style-line-color-based-on-property-text-value5_35_0.txt
You probably just want regular data-driven styling: const layerStyleTheLines = { id: 'style_it_to_red', type: 'line', paint: { 'line-color': [ 'match', ['get','Need'], 'Urgent', 'red', 'Medium', 'yellow', 'Starting','green', 'bla...
mapbox_expressions_layers/mapbox-gl-style-line-color-based-on-property-text-value5_15_0.txt
Learn more about Collectives Teams
mapbox_expressions_layers/mapbox-gl-style-line-color-based-on-property-text-value5_60_0.txt
0 highlighting polyline features in mapbox-gl.js
mapbox_expressions_layers/types2_26_0.txt
Was this page helpful? Yes No © Mapbox All Rights Reserved Terms Privacy Security Your California Privacy Choices
mapbox_expressions_layers/115275_10_0.txt
Collaborate outside of code Explore