|
Boost : |
Subject: Re: [boost] [mpl] Basic mpl sequence question
From: Martim Nascimento (martim00_at_[hidden])
Date: 2010-03-04 07:18:27
Maybe you forget to add the mpl::find include.
#include<boost/mpl/vector.hpp>
//here
#include <boost/mpl/find.hpp>
using namespace boost;
typedef mpl::vector<char,short,int,long,float,double> types;
typedef mpl::find<types,long>::type long_pos;
int main()
{
}
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk