Mysterious Warning: no public constructor

[quote]
My instinct is to say that this shouldn’t link, since the child class should have inherited a purely virtual method, but maybe there’s not that big of a difference in the vtable between a const enum and enum if passed by value.[/quote]

In C++

void fun(int);
void fun(const int);

Are two declarations of the same function.
If you try:

[code]
void fun(int)
{
}

void fun(const int)
{
}

int main(){}[/code]

It will not compile, because you violated one definition rule.

So, if you have in base class

and in derived class

Your derived class in not an abstract class anymore and this function is
final overrider (in wodrs of C++ standard).[/code]