Title
Template deduction and integral_constant
Status
dup
Section
[meta.type.synop]
Submitter
United States

Created on 2017-02-03.00:00:00 last changed 82 months ago

Messages

Date: 2017-07-15.23:15:19

Proposed resolution:

This wording is relative to N4618.

  1. Add to the synopsis of <type_traits>:

    template <auto N>
    using integer_constant = integral_constant<decltype(N), N>;
    
Date: 2017-07-15.23:15:19

[ 2017-07 Toronto Thurs Issue Prioritization ]

Duplicate of 2922.

Date: 2017-02-03.00:00:00
Addresses US 142

An alias template using the new template template auto deduction would make integral_constant slightly easier to use.

History
Date User Action Args
2017-07-15 23:15:19adminsetmessages: + msg9395
2017-07-15 23:15:19adminsetstatus: new -> dup
2017-02-04 04:54:35adminsetmessages: + msg8901
2017-02-03 00:00:00admincreate