Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-21 14:31:07


AMDG

Robert Dailey wrote:
>
> typename is legal because the or_ is qualified. It doesn't matter
> that boost::mpl is a namespace. (Don't you just love these
> intuitive rules)
>
>
> Mind emphasizing a bit? What do you mean by the or_ being qualified?
> You mean because I access it through namespace scope?

Yes.

Legal:
    typedef typename boost::mpl::or_<...> type;
Not legal:
    using boost::mpl::or_;
    typedef typename or_<...> type;

In Christ,
Steven Watanabe


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