$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-03-09 12:58:38
Carlos Rafael Giani:
...
> template < typename ValueType, unsigned int Size >
> std::ostream& operator << (std::ostream &out, std::tr1::array < ValueType,
> Size > const &array)
In general, when defining an overloaded operator<< for a type X, this
definition needs to go in the namespace of X in order to be found by
argument-dependent lookup. So depending on whether std::tr1::array is real
or an alias for boost::array, you need to put the above operator<< in
namespace std::tr1 or namespace boost, respectively.