From c725b736be72030f178bdd03b4f359284e96a0e6 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Thu, 18 May 2017 19:47:21 +0100 Subject: [PATCH] Rebuild docs. --- .../boost_typetraits/reference/add_const.html | 2 + .../boost_typetraits/reference/add_cv.html | 2 + .../reference/add_lvalue_reference.html | 2 + .../reference/add_pointer.html | 2 + .../reference/add_reference.html | 2 + .../reference/add_rvalue_reference.html | 2 + .../reference/add_volatile.html | 2 + .../reference/common_type.html | 1 + .../reference/conditional.html | 1 + .../boost_typetraits/reference/copy_cv.html | 2 + .../boost_typetraits/reference/decay.html | 2 + .../reference/floating_point_promotion.html | 2 + .../reference/integral_promotion.html | 2 + .../reference/make_signed.html | 2 + .../reference/make_unsigned.html | 2 + .../boost_typetraits/reference/make_void.html | 179 ++++++++++++++++++ .../boost_typetraits/reference/promote.html | 2 + .../reference/remove_all_extents.html | 2 + .../reference/remove_const.html | 2 + .../boost_typetraits/reference/remove_cv.html | 2 + .../reference/remove_extent.html | 2 + .../reference/remove_pointer.html | 2 + .../reference/remove_reference.html | 2 + .../reference/remove_volatile.html | 2 + .../reference/type_identity.html | 2 + doc/html/index/s11.html | 2 +- doc/html/index/s12.html | 2 +- doc/html/index/s13.html | 2 +- doc/html/index/s14.html | 2 +- 29 files changed, 229 insertions(+), 4 deletions(-) create mode 100644 doc/html/boost_typetraits/reference/make_void.html diff --git a/doc/html/boost_typetraits/reference/add_const.html b/doc/html/boost_typetraits/reference/add_const.html index 9f84ce4..b5d46b6 100644 --- a/doc/html/boost_typetraits/reference/add_const.html +++ b/doc/html/boost_typetraits/reference/add_const.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using add_const_t = typename add_const<T>::type; // C++11 and above

type: The same type as T diff --git a/doc/html/boost_typetraits/reference/add_cv.html b/doc/html/boost_typetraits/reference/add_cv.html index 2c6ef38..86b06e3 100644 --- a/doc/html/boost_typetraits/reference/add_cv.html +++ b/doc/html/boost_typetraits/reference/add_cv.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using add_cv_t = typename add_cv<T>::type; // C++11 and above

type: The same type as T diff --git a/doc/html/boost_typetraits/reference/add_lvalue_reference.html b/doc/html/boost_typetraits/reference/add_lvalue_reference.html index 0665fdc..7cd49aa 100644 --- a/doc/html/boost_typetraits/reference/add_lvalue_reference.html +++ b/doc/html/boost_typetraits/reference/add_lvalue_reference.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using add_lvalue_reference_t = typename add_lvalue_reference<T>::type; // C++11 and above

type: If T diff --git a/doc/html/boost_typetraits/reference/add_pointer.html b/doc/html/boost_typetraits/reference/add_pointer.html index a775a5e..e7cc376 100644 --- a/doc/html/boost_typetraits/reference/add_pointer.html +++ b/doc/html/boost_typetraits/reference/add_pointer.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using add_pointer_t = typename add_pointer<T>::type; // C++11 and above

type: The same type as remove_reference<T>::type*. diff --git a/doc/html/boost_typetraits/reference/add_reference.html b/doc/html/boost_typetraits/reference/add_reference.html index 7023d53..4eae06f 100644 --- a/doc/html/boost_typetraits/reference/add_reference.html +++ b/doc/html/boost_typetraits/reference/add_reference.html @@ -43,6 +43,8 @@ { typedef see-below type; }; + +template <class T> using add_reference_t = typename add_reference<T>::type; // C++11 and above

type: If T diff --git a/doc/html/boost_typetraits/reference/add_rvalue_reference.html b/doc/html/boost_typetraits/reference/add_rvalue_reference.html index 2f148a9..7dbcd7d 100644 --- a/doc/html/boost_typetraits/reference/add_rvalue_reference.html +++ b/doc/html/boost_typetraits/reference/add_rvalue_reference.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using add_rvalue_reference_t = typename add_rvalue_reference<T>::type; // C++11 and above

type: If T diff --git a/doc/html/boost_typetraits/reference/add_volatile.html b/doc/html/boost_typetraits/reference/add_volatile.html index d935768..7cbd22d 100644 --- a/doc/html/boost_typetraits/reference/add_volatile.html +++ b/doc/html/boost_typetraits/reference/add_volatile.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using add_volatile_t = typename add_volatile<T>::type; // C++11 and above

type: The same type as T diff --git a/doc/html/boost_typetraits/reference/common_type.html b/doc/html/boost_typetraits/reference/common_type.html index 6c78990..ae752ae 100644 --- a/doc/html/boost_typetraits/reference/common_type.html +++ b/doc/html/boost_typetraits/reference/common_type.html @@ -33,6 +33,7 @@

namespace boost {
   template <class... T> struct common_type;
+  template<class... T> using common_type_t = typename common_type<T...>::type; // C++11 and above
 }
 

diff --git a/doc/html/boost_typetraits/reference/conditional.html b/doc/html/boost_typetraits/reference/conditional.html index 7c7577c..53efe54 100644 --- a/doc/html/boost_typetraits/reference/conditional.html +++ b/doc/html/boost_typetraits/reference/conditional.html @@ -33,6 +33,7 @@

namespace boost {
   template <bool B, class T, class U>  struct conditional;
+  template <bool B, class T, class U>  using conditional_t = typename conditional<B, T, U>::type; // C++11 and above
 }
 

diff --git a/doc/html/boost_typetraits/reference/copy_cv.html b/doc/html/boost_typetraits/reference/copy_cv.html index de91732..b2d88b2 100644 --- a/doc/html/boost_typetraits/reference/copy_cv.html +++ b/doc/html/boost_typetraits/reference/copy_cv.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T, class U> using copy_cv_t = typename copy_cv<T, U>::type; // C++11 and above

type: T cv, diff --git a/doc/html/boost_typetraits/reference/decay.html b/doc/html/boost_typetraits/reference/decay.html index fbbe632..def5120 100644 --- a/doc/html/boost_typetraits/reference/decay.html +++ b/doc/html/boost_typetraits/reference/decay.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using decay_t = typename decay<T>::type; // C++11 and above

type: Let U diff --git a/doc/html/boost_typetraits/reference/floating_point_promotion.html b/doc/html/boost_typetraits/reference/floating_point_promotion.html index afab9d8..14f98f2 100644 --- a/doc/html/boost_typetraits/reference/floating_point_promotion.html +++ b/doc/html/boost_typetraits/reference/floating_point_promotion.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using floating_point_promotion_t = typename floating_point_promotion<T>::type; // C++11 and above

type: If floating point promotion can be diff --git a/doc/html/boost_typetraits/reference/integral_promotion.html b/doc/html/boost_typetraits/reference/integral_promotion.html index ca664ba..2f430a6 100644 --- a/doc/html/boost_typetraits/reference/integral_promotion.html +++ b/doc/html/boost_typetraits/reference/integral_promotion.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using integral_promotion_t = typename integral_promotion<T>::type; // C++11 and above

type: If integral promotion can be applied diff --git a/doc/html/boost_typetraits/reference/make_signed.html b/doc/html/boost_typetraits/reference/make_signed.html index 2baa3af..3651b22 100644 --- a/doc/html/boost_typetraits/reference/make_signed.html +++ b/doc/html/boost_typetraits/reference/make_signed.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using make_signed_t = typename make_signed<T>::type; // C++11 and above

type: If T is a signed integer type then diff --git a/doc/html/boost_typetraits/reference/make_unsigned.html b/doc/html/boost_typetraits/reference/make_unsigned.html index 740206e..bb9bb38 100644 --- a/doc/html/boost_typetraits/reference/make_unsigned.html +++ b/doc/html/boost_typetraits/reference/make_unsigned.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using make_unsigned_t = typename make_unsigned<T>::type; // C++11 and above

type: If T is a unsigned integer type then diff --git a/doc/html/boost_typetraits/reference/make_void.html b/doc/html/boost_typetraits/reference/make_void.html new file mode 100644 index 0000000..13c1369 --- /dev/null +++ b/doc/html/boost_typetraits/reference/make_void.html @@ -0,0 +1,179 @@ + + + +make_void + + + + + + + + + + + + + + + +
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
+


+
+PrevUpHomeNext +
+
+ +
template<class...>
+struct make_void
+{
+    typedef void type;
+};
+
+template<class... Ts>
+using void_t = typename make_void<Ts...>::type;
+
+

+ type: The type void + for all T. +

+

+ Header: #include + <boost/type_traits/make_void.hpp> + or #include <boost/type_traits.hpp> +

+
+

Table 1.25. Examples

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ Expression +

+
+

+ Result Type +

+
+

+ make_void<int>::type +

+
+

+ void +

+
+

+ make_void<int&>::type +

+
+

+ void +

+
+

+ make_void<int(*)(int)>::type +

+
+

+ void +

+
+

+ make_void<int[]>::type +

+
+

+ void +

+
+

+ make_void<int[1]>::type +

+
+

+ void +

+
+

+ make_void<>::type +

+
+

+ void +

+
+

+ make_void<int, int>::type +

+
+

+ void +

+
+
+

+ Compiler Compatibility: All current compilers + are supported by this trait. However, the type alias void_t + is only available if the compiler supports template aliases. Further, in + the absence of variadic-template support, make_void + only supports up to 5 parameters. +

+
+ + + +
+
+
+PrevUpHomeNext +
+ + diff --git a/doc/html/boost_typetraits/reference/promote.html b/doc/html/boost_typetraits/reference/promote.html index c1bd9df..585feff 100644 --- a/doc/html/boost_typetraits/reference/promote.html +++ b/doc/html/boost_typetraits/reference/promote.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using promote_t = typename promote<T>::type; // C++11 and above

type: If integral or floating point promotion diff --git a/doc/html/boost_typetraits/reference/remove_all_extents.html b/doc/html/boost_typetraits/reference/remove_all_extents.html index a1e4beb..ac3fa74 100644 --- a/doc/html/boost_typetraits/reference/remove_all_extents.html +++ b/doc/html/boost_typetraits/reference/remove_all_extents.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using remove_all_extents_t = typename remove_all_extents<T>::type; // C++11 and above

type: If T diff --git a/doc/html/boost_typetraits/reference/remove_const.html b/doc/html/boost_typetraits/reference/remove_const.html index ed4e887..2d54789 100644 --- a/doc/html/boost_typetraits/reference/remove_const.html +++ b/doc/html/boost_typetraits/reference/remove_const.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using remove_const_t = typename remove_const<T>::type; // C++11 and above

type: The same type as T, diff --git a/doc/html/boost_typetraits/reference/remove_cv.html b/doc/html/boost_typetraits/reference/remove_cv.html index bbb0956..c35fe98 100644 --- a/doc/html/boost_typetraits/reference/remove_cv.html +++ b/doc/html/boost_typetraits/reference/remove_cv.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using remove_cv_t = typename remove_cv<T>::type; // C++11 and above

type: The same type as T, diff --git a/doc/html/boost_typetraits/reference/remove_extent.html b/doc/html/boost_typetraits/reference/remove_extent.html index 9a570c4..4ccdd0b 100644 --- a/doc/html/boost_typetraits/reference/remove_extent.html +++ b/doc/html/boost_typetraits/reference/remove_extent.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using remove_extent_t = typename remove_extent<T>::type; // C++11 and above

type: If T diff --git a/doc/html/boost_typetraits/reference/remove_pointer.html b/doc/html/boost_typetraits/reference/remove_pointer.html index d94817f..9346b3b 100644 --- a/doc/html/boost_typetraits/reference/remove_pointer.html +++ b/doc/html/boost_typetraits/reference/remove_pointer.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using remove_pointer_t = typename remove_pointer<T>::type; // C++11 and above

type: The same type as T, diff --git a/doc/html/boost_typetraits/reference/remove_reference.html b/doc/html/boost_typetraits/reference/remove_reference.html index 439559b..689505a 100644 --- a/doc/html/boost_typetraits/reference/remove_reference.html +++ b/doc/html/boost_typetraits/reference/remove_reference.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using remove_reference_t = typename remove_reference<T>::type; // C++11 and above

type: The same type as T, diff --git a/doc/html/boost_typetraits/reference/remove_volatile.html b/doc/html/boost_typetraits/reference/remove_volatile.html index f9eeba6..763e553 100644 --- a/doc/html/boost_typetraits/reference/remove_volatile.html +++ b/doc/html/boost_typetraits/reference/remove_volatile.html @@ -31,6 +31,8 @@ { typedef see-below type; }; + +template <class T> using remove_volatile_t = typename remove_volatile<T>::type; // C++11 and above

type: The same type as T, diff --git a/doc/html/boost_typetraits/reference/type_identity.html b/doc/html/boost_typetraits/reference/type_identity.html index f8de9b0..2d45c81 100644 --- a/doc/html/boost_typetraits/reference/type_identity.html +++ b/doc/html/boost_typetraits/reference/type_identity.html @@ -31,6 +31,8 @@ { typedef T type; }; + +template <class T> using type_identity_t = typename type_identity<T>::type; // C++11 and above

Header: #include diff --git a/doc/html/index/s11.html b/doc/html/index/s11.html index bcebfb1..cd2feda 100644 --- a/doc/html/index/s11.html +++ b/doc/html/index/s11.html @@ -24,7 +24,7 @@

-Class Index

+Class Index

A C D E F H I M N O P R T

diff --git a/doc/html/index/s12.html b/doc/html/index/s12.html index 5371cf1..0f4c434 100644 --- a/doc/html/index/s12.html +++ b/doc/html/index/s12.html @@ -24,7 +24,7 @@

-Typedef Index

+Typedef Index

F R T V

diff --git a/doc/html/index/s13.html b/doc/html/index/s13.html index d7dd9da..f96b664 100644 --- a/doc/html/index/s13.html +++ b/doc/html/index/s13.html @@ -24,7 +24,7 @@

-Macro Index

+Macro Index

B

diff --git a/doc/html/index/s14.html b/doc/html/index/s14.html index c7240b5..e4bf2a8 100644 --- a/doc/html/index/s14.html +++ b/doc/html/index/s14.html @@ -23,7 +23,7 @@

-Index

+Index

A B C D E F H I M N O P R T U V