(4.2.0)
helper print for containers
More...
#include <iostream>
#include <iterator>
#include <vector>
#include <list>
#include <set>
|
template<class T , typename A = std::allocator<T>> |
std::ostream & | operator<< (std::ostream &out, const std::vector< T, A > &V) |
| Prints a vector on output. More...
|
|
template<class S , class T > |
std::ostream & | operator<< (std::ostream &out, const std::pair< S, T > &C) |
| Prints a pair. More...
|
|
template<class T , typename A = std::allocator<T>> |
std::ostream & | operator<< (std::ostream &out, const std::list< T, A > &L) |
| Prints a list. More...
|
|
template<class T , typename A = std::allocator<T>> |
std::ostream & | operator<< (std::ostream &out, const std::set< T, A > &S) |
| Prints a set. More...
|
|
helper print for containers
◆ operator<<() [1/4]
std::ostream& std::operator<< |
( |
std::ostream & |
out, |
|
|
const std::vector< T, A > & |
V |
|
) |
| |
Prints a vector on output.
- Parameters
-
- Warning
- <<(ostream&,T&) exists !
◆ operator<<() [2/4]
std::ostream& std::operator<< |
( |
std::ostream & |
out, |
|
|
const std::pair< S, T > & |
C |
|
) |
| |
Prints a pair.
- Parameters
-
- Warning
- <<(ostream&,T&) exists !
◆ operator<<() [3/4]
std::ostream& std::operator<< |
( |
std::ostream & |
out, |
|
|
const std::list< T, A > & |
L |
|
) |
| |
Prints a list.
- Parameters
-
- Warning
- <<(ostream&,T&) exists !
◆ operator<<() [4/4]
std::ostream& std::operator<< |
( |
std::ostream & |
out, |
|
|
const std::set< T, A > & |
S |
|
) |
| |
Prints a set.
- Parameters
-
- Warning
- <<(ostream&,T&) exists !