Movatterモバイル変換


[0]ホーム

URL:



This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofC++14 status.

2346.integral_constant's member functions should be markednoexcept

Section: 21.3.4[meta.help]Status:C++14Submitter: Stephan T. LavavejOpened: 2013-11-05Last modified: 2017-07-05

Priority:0

View all otherissues in [meta.help].

View all issues withC++14 status.

Discussion:

Obvious.

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

Proposed resolution:

This wording is relative to N3797.

  1. Edit 21.3.4[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() constnoexcept { return value; }    constexpr value_type operator()() constnoexcept { return value; }  };  […]}

[8]ページ先頭

©2009-2026 Movatter.jp