Title
integral_constant's member functions should be marked noexcept
Status
c++14
Section
[meta.help]
Submitter
Stephan T. Lavavej

Created on 2013-11-05.00:00:00 last changed 131 months ago

Messages

Date: 2014-02-13.04:55:14

Proposed resolution:

This wording is relative to N3797.

  1. Edit [meta.help] as indicated:

    namespace std {
      template<class T, T v>
      struct integral_constant {
        static constexpr T value = v;
        typedef T value_type;
        typedef integral_constant<T,v> type;
        constexpr operator value_type() const noexcept { return value; }
        constexpr value_type operator()() const noexcept { return value; }
      };
      […]
    }
    
Date: 2014-02-13.04:55:14

[ Issaquah 2014-02-11: Move to Immediate ]

Date: 2013-11-05.00:00:00

Obvious.

History
Date User Action Args
2014-02-27 17:03:20adminsetstatus: wp -> c++14
2014-02-20 13:52:38adminsetstatus: immediate -> wp
2014-02-13 04:55:14adminsetmessages: + msg6828
2014-02-13 04:55:14adminsetstatus: new -> immediate
2014-01-12 13:24:12adminsetmessages: + msg6778
2013-11-05 00:00:00admincreate