|
Boost Users : |
Subject: [Boost-users] [fusion][mpl][array] making boost array a conforming mpl sequence (through fusion)
From: Stjepan Rajko (stjepan.rajko_at_[hidden])
Date: 2009-02-10 14:32:21
Hi,
I tried to make boost::array a conforming MPL sequence by including:
#include <boost/fusion/adapted/array.hpp> // makes array a conforming
fusion sequence
#include <boost/fusion/mpl.hpp> // makes fusion sequences conforming
MPL sequences
but,
typedef boost::array<int, 1> array;
assert(boost::mpl::is_sequence<array>::type::value); // fails
Am I misinterpreting the fusion documentation in expecting that this
should work? Is there another way of making boost::array an mpl
sequence?
TIA,
Stjepan
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