2910. Template deduction and integral_constant

Section: 23.15.2 [meta.type.synop] Status: Dup Submitter: United States Opened: 2017-02-03 Last modified: 2017-07-16

Priority: Not Prioritized

View other active issues in [meta.type.synop].

View all other issues in [meta.type.synop].

View all issues with Dup status.

Discussion:

Addresses US 142

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

[2017-07 Toronto Thurs Issue Prioritization]

Duplicate of 2922.

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>;