I know that it is forbidden to call virtual funcs from base ctors, and there are reasons for that. But if the func is "very const", I think, these reasons become irrelevant. "Very const" means the function is straight replacement for a constant, like this:
Color Derived::getColor() const
{
return Color(0, 255, 0); // no member usage, no member function calls -
// only return
}
(I use function because I need its virtuality.) Can I talk the compiler that this func is "very const"? (And it will allow me to call this func from ctor.)