|
Boost Users : |
From: David Abrahams (dave_at_[hidden])
Date: 2007-04-07 20:13:12
on Sat Apr 07 2007, Igor Mikushkin <gironims-AT-gmail.com> wrote:
> Hello!
>
> Can I use public or protected inheritance using inherit and
> inherit_linearly metafunctions?
public, as http://www.boost.org/libs/mpl/doc/refmanual/inherit.html
describes.
Frankly I don't find inherit_linearly to provide a terribly useful
level of abstraction, as it mostly just reorders the arguments to
fold, but using that information, it should be easy to get protected
or private inheritance if that's what you want.
-- Dave Abrahams Boost Consulting www.boost-consulting.com Don't Miss BoostCon 2007! ==> http://www.boostcon.com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net