Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-05-07 14:06:44

Tobias Schwinger <tschwinger_at_[hidden]> writes:

> For those about to reply "don't use is_sequence" please answer this
> question first:
> How to traverse a tree where the nodes are sequences and the leafes
> are mpl::intS without it?

Just reformulate the tree so that nodes are all wrapped in something
you can recognize reliably:

             tree<vector<int, long> >
           , tree<vector<long,int> >

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at