1 #include <algorithm> 2 #include <deque> 3 4 typedef std::deque<int> di; 5 typedef di::const_iterator di_ci; 6 7 class Moo 8 { 9 template<class Iter> 10 Moo(Iter begin, Iter end); 11 12 int i[10]; 13 }; 14 15 template<class Iter> 16 Moo::Moo(Iter begin, Iter end) 17 { 18 std::copy(begin, end, i); 19 } 20 21 template Moo::Moo<int*>(int* b, int* e); 22 template Moo::Moo<di_ci>(di_ci b, di_ci e);