|
| std::ostream & | operator<< (std::ostream &os, const bool &item) |
| | Outputs a boolean value to the given output stream using a custom string representation.
|
| |
| template<typename T1 , typename T2 > |
| std::ostream & | operator<< (std::ostream &os, const std::pair< T1, T2 > &item) |
| | Outputs a pair of items to the given output stream using a custom string representation.
|
| |
| template<typename T > |
| std::ostream & | operator<< (std::ostream &os, const std::vector< T > &set) |
| | Outputs a vector of items to the given output stream using a custom string representation.
|
| |
| template<typename Key , typename Value > |
| std::ostream & | operator<< (std::ostream &os, const std::unordered_map< Key, Value > &map) |
| | Outputs an unordered_map of items to the given output stream using a custom string representation.
|
| |
| template<typename T > |
| std::ostream & | operator<< (std::ostream &os, const std::set< T > &set) |
| | Outputs a set of items to the given output stream using a custom string representation.
|
| |
| template<typename T > |
| std::ostream & | operator<< (std::ostream &os, const std::unordered_set< T > &set) |
| | Outputs an unordered_set of items to the given output stream using a custom string representation.
|
| |
template<typename T1 , typename T2 >
| std::ostream & Utilities::operator<< |
( |
std::ostream & | os, |
|
|
const std::pair< T1, T2 > & | item ) |
|
inline |
Outputs a pair of items to the given output stream using a custom string representation.
This function uses the custom Recoded::myToString function to convert the pair to a string and then inserts the result into the output stream.
- Template Parameters
-
| T1 | The type of the first element in the pair. |
| T2 | The type of the second element in the pair. |
- Parameters
-
| os | The output stream to which the pair will be written. |
| item | The pair of items to output. |
- Returns
- The modified output stream with the pair's string representation appended.
Definition at line 57 of file OperatorRebind.hpp.
template<typename Key , typename Value >
| std::ostream & Utilities::operator<< |
( |
std::ostream & | os, |
|
|
const std::unordered_map< Key, Value > & | map ) |
|
inline |
Outputs an unordered_map of items to the given output stream using a custom string representation.
This function uses the custom Recoded::myToString function to convert the unordered_map to a string and then inserts the result into the output stream.
- Template Parameters
-
| T | The type of the elements in the unordered_map. |
- Parameters
-
| os | The output stream to which the unordered_map will be written. |
| item | The unordered_map of items to output. |
- Returns
- The modified output stream with the unordered_map's string representation appended.
Definition at line 97 of file OperatorRebind.hpp.