Boost logo

Boost Users :

From: Stephen Gross (mrstephengross_at_[hidden])
Date: 2005-06-14 12:06:19

(1) Where can I find reference information for mpl::for_each (I've looked
around on the boost website and can't seem to find it).

(2) Here's what I'm trying to do: I've got an mpl::vector. Given some type
T, I want to loop across the vector and see if T is convertible to any of
the types in the vector. I tried something like 'for_each<typelist,
is_convertible<T, _1> >()' but my syntax is definitely wrong. Any ideas?

Thanks in advance,

Stephen Gross
Case Western School of Medicine
Cleveland, OH

"By Grabthar's hammer, by the sons of Worvan, you shall be avenged." - Dr.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at