This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/52282] [C++0x] ICE / confused by earlier errors with decltype/constexpr


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52282

Daniel KrÃgler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler at
                   |                            |googlemail dot com

--- Comment #1 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> 2012-02-16 19:24:10 UTC ---
(In reply to comment #0)
> Note that non-static member function pointers do not generate either issues,
> although it is necessary to add "const" to the pointer type but not to the
> corresponding function definition:

Adding const to the function type is required, because the constexpr specifier
for any non-static member functions behaves as if the function were declared as
const member function.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]