[Bug c++/53792] [C++11][constexpr] improving compiler-time constexpr evaluation

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 28 09:34:00 GMT 2012


Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-06-28
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-28 09:34:20 UTC ---
Does the C++ standard require getIndex to be evaluated to a constant in getV?
Or is 'constexpr' only telling you that it is required in a context where
evaluation to a constant is required (and thus arguments to a constexpr
function are constrained)?

More information about the Gcc-bugs mailing list