May be you forgot to specify the boost namespece, like

typedef boost::iterator_range< t_iterator > histogram_type;


Regards,
Ovanes

On Dec 12, 2007 7:42 PM, Olivier Tournaire < olitour@gmail.com> wrote:
Hi all,

I am having problem while compiling this code :

typedef std::pair<double,double> t_pair;
typedef std::vector< t_pair > t_vector;
typedef t_vector::iterator t_iterator;
typedef iterator_range< t_iterator > histogram_type; // syntax error :
missing ';' before '<'

Do you have any issue ?

Regards

Olivier

--
Le temps des cerises reviendra. Dans l'immédiat, c'est le temps des noyaux. Courage.

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users