[/ Copyright 2015 Peter Dimov. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). ] [section:type_identity type_identity] template struct type_identity { typedef T type; }; template using type_identity_t = typename type_identity::type; // C++11 and above __header ` #include ` or ` #include ` [table Examples [ [Expression] [Result Type]] [[`type_identity::type`][`int`]] [[`type_identity::type`] [`int&`]] [[`type_identity::type`] [`int* const&`]] ] [endsect]