Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-05-14 15:21:42


"DY, JERRY U (SBCSI)" <jd2419_at_[hidden]> writes:

> enable_if_interoperable is declared as follows. It's empty, and since it
> inherits privately from enable_if

No, structs have public inheritance by default.

> , none of enable_if's members would be
> visible. Now where is the struct member "type"???
>
> template <class Facade1, class Facade2, class Return >
> struct enable_if_interoperable:
> ::boost::iterators::enable_if<
> mpl::or_< is_convertible<Facade1, Facade2> ,
> is_convertible<Facade2, Facade1> >, Return >
> {
> };
>
> Thanks!

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk