From 1ababc8bd59bcca3bac8c08d367bf0e91c7e11ab Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 2 May 2019 16:46:29 +0100 Subject: Improve docs for Library Fundamentals TS * doc/doxygen/doxygroups.cc: Move description of experimental group here. * include/experimental/algorithm: Add to libfund-ts doc group. * include/experimental/any: Likewise. Do not document implementation details. * include/experimental/array: Add to libfund-ts doc group. * include/experimental/bits/lfts_config.h: Define libfund-ts doc group for Library Fundamentals. * include/experimental/chrono: Add to libfund-ts doc group. * include/experimental/deque: Likewise. * include/experimental/forward_list: Likewise. * include/experimental/functional: Likewise. * include/experimental/iterator: Likewise. * include/experimental/list: Likewise. * include/experimental/map: Likewise. * include/experimental/memory: Likewise. * include/experimental/memory_resource: Likewise. Improve docs. details. * include/experimental/numeric: Add to libfund-ts doc group. * include/experimental/optional: Likewise. * include/experimental/propagate_const: Likewise. * include/experimental/random: Likewise. * include/experimental/ratio: Likewise. * include/experimental/regex: Likewise. * include/experimental/set: Likewise. * include/experimental/source_location: Likewise. * include/experimental/string: Likewise. * include/experimental/string_view: Likewise. * include/experimental/system_error: Likewise. * include/experimental/tuple: Likewise. * include/experimental/type_traits: Likewise. * include/experimental/unordered_map: Likewise. * include/experimental/unordered_set: Likewise. * include/experimental/utility: Likewise. * include/experimental/vector: Likewise. * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error. * testsuite/experimental/array/neg.cc: Adjust dg-error. * testsuite/experimental/propagate_const/assignment/move_neg.cc: Likewise. * testsuite/experimental/propagate_const/cons/move_neg.cc: Likewise. * testsuite/experimental/propagate_const/requirements2.cc: Likewise. * testsuite/experimental/propagate_const/requirements3.cc: Likewise. * testsuite/experimental/propagate_const/requirements4.cc: Likewise. * testsuite/experimental/propagate_const/requirements5.cc: Likewise. From-SVN: r270809 --- libstdc++-v3/include/experimental/array | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libstdc++-v3/include/experimental/array') diff --git a/libstdc++-v3/include/experimental/array b/libstdc++-v3/include/experimental/array index 3fece23..5a35fd4 100644 --- a/libstdc++-v3/include/experimental/array +++ b/libstdc++-v3/include/experimental/array @@ -24,6 +24,7 @@ /** @file experimental/array * This is a TS C++ Library header. + * @ingroup libfund-ts */ #ifndef _GLIBCXX_EXPERIMENTAL_ARRAY @@ -47,7 +48,7 @@ inline namespace fundamentals_v2 #define __cpp_lib_experimental_make_array 201505 /** * @defgroup make_array Array creation functions - * @ingroup experimental + * @ingroup libfund-ts * * Array creation functions as described in N4529, * Working Draft, C++ Extensions for Library Fundamentals, Version 2 @@ -78,6 +79,7 @@ template "any of the arguments is a reference_wrapper"); }; +/// Create a std::array from a variable-length list of arguments. template constexpr array::type, sizeof...(_Types)> @@ -93,6 +95,7 @@ template return {{__a[_Idx]...}}; } +/// Create a std::array from an array. template constexpr array, _Nm> to_array(_Tp (&__a)[_Nm]) -- cgit v1.1