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 hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net