21 template <
typename Obj,
unsigned int SIZE>
27 template <
typename Obj,
unsigned int SIZE>
33 template <
typename Obj,
unsigned int SIZE>
34 std::ostream& tlp::operator<<(std::ostream &os,const tlp::Array<Obj,SIZE> &a) {
37 for (
unsigned int i=0 ; i<SIZE ; ++i ) {
57 template <
typename Obj,
unsigned int SIZE>
64 while((is >> c) && isspace(c)) {}
68 is.setstate( std::ios::failbit );
72 for(
unsigned int i=0; i<SIZE; ++i ) {
77 while((ok =
bool(is >> c)) && isspace(c)) {}
81 is.setstate( std::ios::failbit );
87 while((ok =
bool(is >> c)) && isspace(c)) {}
91 done = bool( is >> outA.
array[i] );
95 is.setstate( std::ios::failbit );
101 while((is >> c) && isspace(c)) {}
105 is.setstate( std::ios::failbit );