class A
{
auto getter() const
{
return property;
}
int property = 0;
}
Please notice that getter method is marked as const. Why this
method return "const int"?
If i force it declaring: int getter() constit returns "int". It takes me a lot to understand where the issue was in my code.
Is it a bug?
