2 Copyright 2017 Glen Joseph Fernandes
3 <glenjofe -at- gmail.com>
5 Distributed under the Boost Software License,
6 Version 1.0. (See accompanying file LICENSE_1_0.txt
7 or copy at http://www.boost.org/LICENSE_1_0.txt).
10 [section:make_void make_void]
19 using void_t = typename make_void<Ts...>::type;
21 __type The type `void` for all `T`.
23 __header ` #include <boost/type_traits/make_void.hpp>` or ` #include <boost/type_traits.hpp>`
27 [[Expression] [Result Type]]
29 [[`make_void<int>::type`][`void`]]
31 [[`make_void<int&>::type`] [`void`]]
33 [[`make_void<int(*)(int)>::type`] [`void`]]
35 [[`make_void<int[]>::type`] [`void`]]
37 [[`make_void<int[1]>::type`] [`void`]]
39 [[`make_void<>::type`] [`void`]]
41 [[`make_void<int, int>::type`] [`void`]]
45 [all_compilers] However, the type alias `void_t` is only available if the compiler supports template aliases.
46 Further, in the absence of variadic-template support, `make_void` only supports up to 5 parameters.