|
Boost : |
From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2003-09-05 16:21:46
Brock Peabody wrote:
> Am I right in betting that this would short-circuit and compile:
>
> typename mpl::and_<
> expr1<X>,
> expr_that_is_only_valid_if_expr1_is<X>
> >::type
>
> Where:
>
> mpl::bool_<
> expr1<X>::value
> && expr_that_is_only_valid_if_expr1_is<X>::value
> >
>
> Would not?
Yep! :)
Aleksey
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk