3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-01 11:43:47 +01:00
dft_tools/doc/reference/arrays/containers/stream.rst

24 lines
670 B
ReStructuredText
Raw Normal View History

2013-08-27 19:17:17 +02:00
.. highlight:: c
.. _arr_stream:
operator <<
==================================
**Synopsis**::
template <typename ValueType, int Rank, typename TraversalOrder=void>
std::ostream & operator << (std::ostream & out, array_view<ValueType,Rank,TraversalOrder> const &);
2013-08-27 19:17:17 +02:00
template <typename ValueType, typename TraversalOrder=void>
std::ostream & operator << (std::ostream & out, matrix_view<ValueType,TraversalOrder> const &);
2013-08-27 19:17:17 +02:00
template <typename ValueType>
std::ostream & operator << (std::ostream & out, vector_view<ValueType> const &);
2013-08-27 19:17:17 +02:00
Prints the view (or the container since the view is trivially build from the container)
to the stream out.