I got some h file I need to implement but encountered a blocker. I have a class
Class A
{
B** something;
public:
const B** getSomething() const;
}
any try to implement it falls with error is there a way to implement it as is? if not, what is the right way to get this member? explanation will be great!
when trying:
const B** A::getSomething() const
{
return something;
}
error: "cannot covert lvalue of type 'B** const' to return type B const**