|
Boost : |
From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2006-05-07 10:42:21
Hi again,
It would be very cool if fusion::pair would be compatible with mpl::pair, so that MPL's "first" and "second" metafunctions work...
Maybe the names of the type members in "mpl::pair" should be changed from "first/second" to "first_type/second_type", because then
1. "std::pair" could be used with MPL and Fusion (*),
2. "fusion::pair" could be used with MPL, and
3. "mpl::pair" could be used as a Fusion pair, if no runtime data is required
(*) in place of a fusion::pair and not as an "adapted sequence".
Regards,
Tobias
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk