[/ Copyright 2019 Glen Joseph Fernandes (glenjofe@gmail.com) 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:copy_reference copy_reference_] template struct copy_reference { typedef __below type; }; template using copy_reference_t = typename copy_reference::type; __type [^T /ref/], where /ref/ are the ref-qualifiers of `U`. __header `#include ` or `#include >` [table Examples [[Expression] [Result Type]] [[`copy_reference::type`][`int`]] [[`copy_reference::type`] [`int&`]] [[`copy_reference::type`] [`int&&`]] [[`copy_reference::type`] [`int&`]] [[`copy_reference::type`] [`int&`]] [[`copy_reference::type`] [`int&`]] [[`copy_reference::type`] [`int&&`]] [[`copy_reference::type`] [`int&`]] [[`copy_reference::type`] [`int&&`]] ] [all_compilers] The type alias `copy_reference_t` is only available if the compiler supports template aliases. [endsect]