
10 Dec
2012
10 Dec
'12
9:39 p.m.
On Dec 10, 2012, at 1:33 PM, Christopher Kohlhoff <chris@kohlhoff.com> wrote:
This snippet illustrates what I mean:
class base { public: virtual const char* name() const = 0; };
class derived : public base { public: virtual const char* name() const noexcept; };
// ...
const char* derived::name() const noexcept { return ""; }
This compiles without error on gcc 4.7.2 (debian). Can you please confirm whether your experimental changes follow this form?
This compiles w/o error using clang as well. (even with -Wall -Wpedantic) -- Marshall Marshall Clow Idio Software <mailto:mclow.lists@gmail.com> A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki