// file to deal with clueless CC #ifndef __ITERATOR_TRAITS__ #define __ITERATOR_TRAITS__ namespace std { template struct iterator_traits { typedef typename I::value_type value_type; }; template struct iterator_traits { typedef typename V value_type; }; void swap(double& a, double& b) { double x = a; a = b; b = x; } }; // namespace std #endif // __ITERATOR_TRAITS__