
4 Feb
2004
4 Feb
'04
4:31 p.m.
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?