Boost logo

Boost Users :

Subject: Re: [Boost-users] [mpl & type_traits]
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-02-24 09:50:04


AMDG

Robert Jones wrote:
> Simple questions from a metaprogramming newbie...
>
> Why do we have mpl::true_ and true_type? Are they interchangable?

true_type inherits from mpl::true_.

> Is is_same the same as mpl::equal?

No. mpl::equal compares sequences element wise.

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