Boost logo

Boost Users :

From: chun ping wang (cablepuff_at_[hidden])
Date: 2006-05-02 00:54:04


Its more of a c++ question but i wonder how would I pass constant variables
into template parameters such as nth_index_iterator.
Example: void func(const int& var)
{
    nth_index_iterator<var>::type;
 }

Is this possible whats the work around this limitation?



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