Re: Private/protected inheritance problem

From: Sep (Sep102_at_gmail.com)
Date: 03/12/05


Date: 11 Mar 2005 21:21:10 -0800

Couldn't you also just use a reinterpret_cast to cast this to a bar *?
If so, this would get around having to making foo<bar> a friend of bar.
 Please correct me if this is not an optimal idea.