Boost logo

Boost Users :

Subject: [Boost-users] [Fusion] value_at_c and its relatives not applicable to Associative Sequence?
From: TONGARI (tongari95_at_[hidden])
Date: 2011-03-20 10:39:17


Hi,

the document says that 'value_at_c' accepts a Forward Sequence, and
set/map, which is of Associative Sequence as well as Forward Sequence, why
the following does not work?

#include <boost/fusion/include/value_at.hpp>
#include <boost/fusion/include/set.hpp>

int main()
{
     namespace fs = boost::fusion;
     typedef fs::result_of::value_at_c<fs::set<int>, 0> >::type type;
     return 0;
}



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