forked from boostorg/fusion
baking segmented Fusion
[SVN r73854]
This commit is contained in:
@ -36,7 +36,7 @@ main()
|
||||
{
|
||||
typedef pair<int, char> p1;
|
||||
typedef pair<double, std::string> p2;
|
||||
result_of::as_map<list<p1, p2> >::type map(make_pair<int>('X'), make_pair<double>("Men"));
|
||||
boost::fusion::result_of::as_map<list<p1, p2> >::type map(make_pair<int>('X'), make_pair<double>("Men"));
|
||||
std::cout << at_key<int>(map) << std::endl;
|
||||
std::cout << at_key<double>(map) << std::endl;
|
||||
BOOST_TEST(at_key<int>(map) == 'X');
|
||||
|
Reference in New Issue
Block a user