Boost logo

Boost Users :

From: Lisa Glendenning (lisa_at_[hidden])
Date: 2005-08-17 18:16:34

Is it possible to do something like

template <typename T>
T* Access(int n) {
   return chain.component<n, T>();

because my compiler (GCC) doesn't like it. And if not, then how can I
access a component without knowing at compile time its index?

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