cpp/memory/inout ptr t/inout ptr

Returns an with deduced template arguments that captures arguments for resetting by reference.

The program is ill-formed if construction of the return value (see below) is ill-formed.

Return value
, where is
 * , if is not same as, otherwise,
 * , if it is valid and denotes a type, otherwise,
 * , if is valid and denotes a type, otherwise,