Skip to content

Commit c6a82c6

Browse files
committed
Index: Fix a bunch of errors
This fixes a bunch of typos and wrong links.
1 parent 771518c commit c6a82c6

File tree

3 files changed

+40
-55
lines changed

3 files changed

+40
-55
lines changed

index-chapters-cpp.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
<sub name="Named requirements" link="cpp/named_req"/>
117117
<sub name="Feature test macros" link="cpp/feature_test"/>
118118
<sub name="Concepts library" link="cpp/concepts"/>
119-
<sub name="Diagnostics library" lnk="cpp/error"/>
119+
<sub name="Diagnostics library" link="cpp/error"/>
120120
<sub name="Utilities library" link="cpp/utility">
121121
<sub name="Type support" link="cpp/types"/>
122122
<sub name="Program utilities" link="cpp/utility/program"/>

index-functions-c.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131

3232
<typedef name="size_t" link="c/types/size_t"/>
3333
<typedef name="ptrdiff_t" link="c/types/ptrdiff_t"/>
34-
<typedef name="nullptr_t" link="c/types/nullptr_t"/>
3534
<const name="NULL" link="c/types/NULL"/>
3635
<typedef name="max_align_t" link="c/types/max_align_t"/>
3736
<function name="offsetof" link="c/types/offsetof"/>
@@ -1094,8 +1093,8 @@
10941093

10951094
<typedef name="thrd_start_t" link="c/thread"/>
10961095

1097-
<typedef name="once_flag" link="c/thread"/>
1098-
<const name="ONCE_FLAG_INIT" link="c/thread/ONCE_FLAG_INIT"/>
1096+
<typedef name="once_flag" link="c/thread/call_once"/>
1097+
<const name="ONCE_FLAG_INIT" link="c/thread/call_once"/>
10991098
<function name="call_once" link="c/thread/call_once"/>
11001099

11011100
<typedef name="cnd_t" link="c/thread"/>

index-functions-cpp.xml

+37-51
Original file line numberDiff line numberDiff line change
@@ -613,12 +613,12 @@
613613

614614
<class name="std::is_swappable" link="cpp/types/is_swappable" since="c++17"/>
615615
<variable name="std::is_swappable_v" link="cpp/types/is_swappable" since="c++17"/>
616-
<class name="std::is_swappable_with" link="cpp/types/is_swappable_with" since="c++17"/>
617-
<variable name="std::is_swappable_with_v" link="cpp/types/is_swappable_with" since="c++17"/>
616+
<class name="std::is_swappable_with" link="cpp/types/is_swappable" since="c++17"/>
617+
<variable name="std::is_swappable_with_v" link="cpp/types/is_swappable" since="c++17"/>
618618
<class name="std::is_nothrow_swappable" link="cpp/types/is_swappable" since="c++17"/>
619619
<variable name="std::is_nothrow_swappable_v" link="cpp/types/is_swappable" since="c++17"/>
620-
<class name="std::is_nothrow_swappable_with" link="cpp/types/is_swappable_with" since="c++17"/>
621-
<variable name="std::is_nothrow_swappable_with_v" link="cpp/types/is_swappable_with" since="c++17"/>
620+
<class name="std::is_nothrow_swappable_with" link="cpp/types/is_swappable" since="c++17"/>
621+
<variable name="std::is_nothrow_swappable_with_v" link="cpp/types/is_swappable" since="c++17"/>
622622

623623
<class name="std::has_virtual_destructor" link="cpp/types/has_virtual_destructor"/>
624624
<variable name="std::has_virtual_destructor_v" link="cpp/types/has_virtual_destructor" since="c++17"/>
@@ -859,7 +859,7 @@
859859
<function name="operator-&gt;" link="operator*"/>
860860
<function name="operator++" link="operator_arith"/>
861861
<function name="operator++(int)" link="operator_arith"/>
862-
<function name="equal"
862+
<function name="equal"/>
863863

864864
<overload name="operator==" link="operator_cmp"/>
865865
<overload name="operator!=" link="operator_cmp"/>
@@ -883,7 +883,7 @@
883883
<function name="operator*"/>
884884
<function name="operator++" link="operator_arith"/>
885885
<function name="operator++(int)" link="operator_arith"/>
886-
<function name="failed"
886+
<function name="failed"/>
887887
</class>
888888

889889
<function name="std::advance" link="cpp/iterator/advance"/>
@@ -924,19 +924,13 @@
924924
<inherits name="std::exception"/>
925925
<constructor link="."/>
926926
<function name="operator=" link="."/>
927-
<function name="what" link="."/>
928927
</class>
929928

930-
<class name="std::bad_array_new_length" link="cpp/memory/new/bad_array_new_length">
929+
<class name="std::bad_array_new_length" link="cpp/memory/new/bad_array_new_length" since="c++11">
931930
<inherits name="std::bad_alloc"/>
932931
<constructor/>
933932
</class>
934933

935-
<class name="std::bad_array_length" link="cpp/memory/new/bad_array_length" since="c++14">
936-
<inherits name="std::bad_alloc"/>
937-
<constructor link="."/>
938-
</class>
939-
940934
<class name="std::nothrow_t" link="cpp/memory/new/nothrow_t"/>
941935
<class name="std::align_val_t" link="cpp/memory/new/align_val_t" since="c++11"/>
942936
<typedef name="std::new_handler" link="cpp/memory/new/new_handler"/>
@@ -1000,11 +994,11 @@
1000994
<function name="deallocate"/>
1001995
<function name="construct"/>
1002996
<function name="destroy"/>
1003-
<function name="select_on_container_copy_contruction"/>
997+
<function name="select_on_container_copy_construction"/>
1004998
<function name="resource"/>
1005999

1006-
<overload name="operator==" link="operator_cmp"/>
1007-
<overload name="operator!=" link="operator_cmp"/>
1000+
<overload name="operator==" link="operator_eq"/>
1001+
<overload name="operator!=" link="operator_eq"/>
10081002
</class>
10091003

10101004
<class name="std::pmr::memory_resource" link="cpp/memory/memory_resource" since="c++17">
@@ -1203,8 +1197,7 @@
12031197

12041198
<class name="std::bad_weak_ptr" link="cpp/memory/bad_weak_ptr">
12051199
<inherits name="std::exception"/>
1206-
<constructor/>
1207-
<function name="what" link="."/>
1200+
<constructor link="."/>
12081201
</class>
12091202

12101203
<class name="std::default_delete" link="cpp/memory/default_delete">
@@ -1693,7 +1686,7 @@
16931686

16941687
<class name="std::chrono::treat_as_floating_point" link="cpp/chrono/treat_as_floating_point">
16951688
</class>
1696-
<variable name="std::chrono::treat_as_floating_point" link="cpp/chrono/treat_as_floating_point" since="c++11"/>
1689+
<variable name="std::chrono::treat_as_floating_point_v" link="cpp/chrono/treat_as_floating_point" since="c++11"/>
16971690

16981691
<class name="std::chrono::duration_values" link="cpp/chrono/duration_values">
16991692
<function name="zero"/>
@@ -1912,7 +1905,6 @@
19121905
<class name="std::bad_function_call" link="cpp/utility/functional/bad_function_call">
19131906
<inherits name="std::exception"/>
19141907
<constructor link="."/>
1915-
<function name="what" link="."/>
19161908
</class>
19171909

19181910
<class name="std::placeholders" link="cpp/utility/functional/placeholders"/>
@@ -2040,11 +2032,12 @@
20402032
<class name="std::nullopt_t" link="cpp/utility/optional/nullopt_t" since="c++17"/>
20412033
<const name="std::nullopt" link="cpp/utility/optional/nullopt" since="c++17"/>
20422034

2043-
<class name="std::in_place_tag" link="cpp/utility/in_place_tag" since="c++17"/>
2044-
<function name="std::in_place" link="cpp/utility/in_place" since="c++17"/>
2045-
<typedef name="std::in_place_t" link="cpp/utility/in_place" since="c++17"/>
2046-
<typedef name="std::in_place_type_t" link="cpp/utility/in_place" since="c++17"/>
2047-
<typedef name="std::in_place_index_t" link="cpp/utility/in_place" since="c++17"/>
2035+
<class name="std::in_place_t" link="cpp/utility/in_place" since="c++17"/>
2036+
<variable name="std::in_place" link="cpp/utility/in_place" since="c++17"/>
2037+
<class name="std::in_place_type_t" link="cpp/utility/in_place" since="c++17"/>
2038+
<variable name="std::in_place_type" link="cpp/utility/in_place" since="c++17"/>
2039+
<class name="std::in_place_index_t" link="cpp/utility/in_place" since="c++17"/>
2040+
<variable name="std::in_place_index" link="cpp/utility/in_place" since="c++17"/>
20482041

20492042
<!--=======================================================================-->
20502043
<!-- cpp/utility/variant -->
@@ -2068,7 +2061,6 @@
20682061
<overload name="std::swap" link="swap2"/>
20692062
<overload name="std::get" link="get"/>
20702063
<specialization name="std::hash" link="hash"/>
2071-
<specialization name="std::uses_allocator" link="uses_allocator"/>
20722064
</class>
20732065

20742066
<function name="std::visit" link="cpp/utility/variant/visit" since="c++17"/>
@@ -2083,18 +2075,18 @@
20832075
<typedef name="std::variant_alternative_t" link="cpp/utility/variant/variant_alternative" since="c++17"/>
20842076

20852077
<class name="std::monostate" link="cpp/utility/variant/monostate" since="c++17">
2086-
<constructor/>
2087-
<destructor/>
2088-
<function name="operator="/>
2078+
<constructor link="."/>
2079+
<destructor link="."/>
2080+
<function name="operator=" link="."/>
20892081

2090-
<overload name="operator==" link="operator_cmp"/>
2091-
<overload name="operator!=" link="operator_cmp"/>
2092-
<overload name="operator&lt;" link="operator_cmp"/>
2093-
<overload name="operator&lt;=" link="operator_cmp"/>
2094-
<overload name="operator&gt;" link="operator_cmp"/>
2095-
<overload name="operator&gt;=" link="operator_cmp"/>
2082+
<overload name="operator==" link="."/>
2083+
<overload name="operator!=" link="."/>
2084+
<overload name="operator&lt;" link="."/>
2085+
<overload name="operator&lt;=" link="."/>
2086+
<overload name="operator&gt;" link="."/>
2087+
<overload name="operator&gt;=" link="."/>
20962088

2097-
<specialization name="std::hash" link="hash"/>
2089+
<specialization name="std::hash" link="."/>
20982090
</class>
20992091

21002092
<!--=======================================================================-->
@@ -2162,7 +2154,6 @@
21622154
<function name="std::tuple_cat" link="cpp/utility/tuple/tuple_cat"/>
21632155
<const name="std::ignore" link="cpp/utility/tuple/ignore"/>
21642156

2165-
<function name="std::swap" link="cpp/algorithm/swap"/>
21662157
<function name="std::ranges::swap" link="cpp/utility/ranges/swap" since="c++20"/>
21672158
<function name="std::forward" link="cpp/utility/forward"/>
21682159
<function name="std::exchange" link="cpp/utility/exchange" since="c++14"/>
@@ -4310,8 +4301,8 @@
43104301
<function name="std::copy_if" link="cpp/algorithm/copy" since="c++11"/>
43114302
<function name="std::copy_n" link="cpp/algorithm/copy_n" since="c++11"/>
43124303
<function name="std::copy_backward" link="cpp/algorithm/copy_backward"/>
4313-
<function name="std::move (algorithm)" link="cpp/algorithm/move"/ since="c++11">
4314-
<function name="std::move_backward" link="cpp/algorithm/move_backward"/ since="c++11">
4304+
<function name="std::move (algorithm)" link="cpp/algorithm/move" since="c++11"/>
4305+
<function name="std::move_backward" link="cpp/algorithm/move_backward" since="c++11"/>
43154306
<function name="std::fill" link="cpp/algorithm/fill"/>
43164307
<function name="std::fill_n" link="cpp/algorithm/fill_n"/>
43174308
<function name="std::transform" link="cpp/algorithm/transform"/>
@@ -4340,7 +4331,7 @@
43404331
<function name="std::unique" link="cpp/algorithm/unique"/>
43414332
<function name="std::unique_copy" link="cpp/algorithm/unique_copy"/>
43424333

4343-
<function name="std::is_partitioned" link="cpp/algorithm/is_partitioned"/ since="c++11">
4334+
<function name="std::is_partitioned" link="cpp/algorithm/is_partitioned" since="c++11"/>
43444335
<function name="std::partition" link="cpp/algorithm/partition"/>
43454336
<function name="std::partition_copy" link="cpp/algorithm/partition_copy" since="c++11"/>
43464337
<function name="std::stable_partition" link="cpp/algorithm/stable_partition"/>
@@ -5969,8 +5960,6 @@
59695960
<function name="wait"/>
59705961
<function name="wait_for"/>
59715962
<function name="wait_until"/>
5972-
5973-
<function name="native_handle"/>
59745963
</class>
59755964

59765965
<function name="std::notify_all_at_thread_exit" link="cpp/thread/notify_all_at_thread_exit"/>
@@ -6024,8 +6013,6 @@
60246013
<function name="wait_until"/>
60256014
</class>
60266015

6027-
<function name="std::future_category" link="cpp/thread/future/future_category"/>
6028-
60296016
<class name="std::packaged_task" link="cpp/thread/packaged_task">
60306017
<constructor/>
60316018
<destructor/>
@@ -6219,7 +6206,7 @@
62196206

62206207
<class name="std::filesystem::file_status" link="cpp/filesystem/file_status" since="c++17">
62216208
<constructor/>
6222-
<destructor/>
6209+
<destructor link="."/>
62236210
<function name="operator="/>
62246211
<function name="type"/>
62256212
<function name="permissions"/>
@@ -6422,23 +6409,23 @@
64226409
<class name="std::experimental::pmr::resource_adaptor" link="cpp/experimental/resource_adaptor" since="exp" />
64236410

64246411
<class name="std::experimental::pmr::new_delete_resource" link="cpp/experimental/new_delete_resource" since="exp"/>
6425-
<class name="std::experimental::pmr::null_memory_resource" link="cpp/experimental/null_Memory_resource" since="exp"/>
6412+
<class name="std::experimental::pmr::null_memory_resource" link="cpp/experimental/null_memory_resource" since="exp"/>
64266413
<function name="std::experimental::pmr::get_default_resource" link="cpp/experimental/get_default_resource" since="exp"/>
64276414
<function name="std::experimental::pmr::set_default_resource" link="cpp/experimental/set_default_resource" since="exp"/>
64286415
<function name="std::experimental::sample" link="cpp/experimental/sample" since="exp"/>
64296416

64306417
<function name="std::experimental::search" link="cpp/experimental/search" since="exp"/>
64316418
<class name="std::experimental::default_searcher" link="cpp/experimental/default_searcher" since="exp"/>
6432-
<function name="std::experimental::make_default_searcher" link="cpp/experimental/make_default_searcher" since="exp"/>
6419+
<function name="std::experimental::make_default_searcher" link="cpp/experimental/default_searcher" since="exp"/>
64336420
<class name="std::experimental::boyer_moore_horspool_searcher" link="cpp/experimental/boyer_moore_horspool_searcher" since="exp"/>
6434-
<function name="std::experimental::make_boyer_moore_horspool_searcher" link="cpp/experimental/make_boyer_moore_horspool_searcher" since="exp"/>
6421+
<function name="std::experimental::make_boyer_moore_horspool_searcher" link="cpp/experimental/boyer_moore_horspool_searcher" since="exp"/>
64356422
<class name="std::experimental::boyer_moore_searcher" link="cpp/experimental/boyer_moore_searcher" since="exp"/>
6436-
<function name="std::experimental::make_boyer_moore_searcher" link="cpp/experimental/make_boyer_moore_searcher" since="exp"/>
6423+
<function name="std::experimental::make_boyer_moore_searcher" link="cpp/experimental/boyer_moore_searcher" since="exp"/>
64376424

64386425
<function name="std::experimental::apply" link="cpp/experimental/apply" since="exp"/>
64396426
<class name="std::experimental::erased_type" link="cpp/experimental/erased_type" since="exp"/>
64406427
<class name="std::experimental::invocation_type" link="cpp/experimental/invocation_type" since="exp"/>
6441-
<class name="std::experimental::raw_invocation_type" link="cpp/experimental/raw_invocation_type" since="exp"/>
6428+
<class name="std::experimental::raw_invocation_type" link="cpp/experimental/invocation_type" since="exp"/>
64426429

64436430
<class name="std::experimental::basic_string_view" link="cpp/experimental/basic_string_view" since="exp">
64446431
<constructor/>
@@ -6594,7 +6581,6 @@
65946581
<function name="std::experimental::gcd" link="cpp/experimental/gcd" since="exp"/>
65956582
<function name="std::experimental::lcm" link="cpp/experimental/lcm" since="exp"/>
65966583
<class name="std::experimental::source_location" link="cpp/experimental/source_location" since="exp"/>
6597-
<function name="std::as_const" link="cpp/utility/as_const" since="exp"/>
65986584

65996585
<function name="std::experimental::randint" link="cpp/experimental/randint" since="exp"/>
66006586
<function name="std::experimental::reseed" link="cpp/experimental/reseed" since="exp"/>

0 commit comments

Comments
 (0)