« first day (1339 days earlier)      last day (1089 days later) » 

1:14 PM
Hoping someone can help me with this inheritance/overloading quick q - all answers I've found seemed to be "just add using", but that doesn't seem to make a difference, or I'm not doing it right.

I have:

struct A{
public:
A() : _v(0){};
int v() const{ return _v; };
void v(int iv){ _v=iv };
private:
int _v;
}

Then a

struct B: public A{
public:
 
1 message moved from Lounge<C++>
 
 
8 hours later…
8:49 PM
 
4 messages moved from Lounge<C++>
 
8:55 PM
1 message moved from Lounge<C++>
 

« first day (1339 days earlier)      last day (1089 days later) »