Boost logo

Boost :

From: Neal D. Becker (nbecker_at_[hidden])
Date: 2004-02-04 11:31:44


Here is a cleaner and better version of my 2 examples.

I also have a couple of questions, maybe someone can help me to improve
these:

Question 1:
As a convenience in TestZip.cc, I made the function:
template<typename T>
inline array<T,2> make_array_2 (T t1, T t2);

Is there a resonable way to make a function make_array_N?

Question 2:

In zippy_iterator.H I needed to add const_casts or else I got errors on
std::distance. Is there a better approach?





Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk