Go to the documentation of this file.00001
00002 #ifndef vbl_array_1d_txx_
00003 #define vbl_array_1d_txx_
00004
00005 #include "vbl_array_1d.h"
00006
00007 #include <vcl_iostream.h>
00008
00009 template<class T>
00010 vcl_ostream& operator<< (vcl_ostream &os, vbl_array_1d<T> const& array)
00011 {
00012 for (typename vbl_array_1d<T>::const_iterator i=array.begin();
00013 i < array.end(); ++i)
00014 os << (*i) << " ";
00015 os << vcl_endl;
00016
00017 return os;
00018 }
00019
00020 #undef VBL_ARRAY_1D_INSTANTIATE
00021 #define VBL_ARRAY_1D_INSTANTIATE(T) \
00022 template struct vbl_array_1d<T >; \
00023 template vcl_ostream& operator<< (vcl_ostream& , vbl_array_1d<T > const& )
00024
00025 #endif