OpenVPN 3 Core Library
Loading...
Searching...
No Matches
ostream.hpp File Reference
#include <ostream>
#include <string>
Include dependency graph for ostream.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OPENVPN_OSTREAM(TYPE, METH)
 

Macro Definition Documentation

◆ OPENVPN_OSTREAM

#define OPENVPN_OSTREAM (   TYPE,
  METH 
)
Value:
template <typename Elem, typename Traits> \
std::basic_ostream<Elem, Traits> &operator<<( \
std::basic_ostream<Elem, Traits> &os, const TYPE &addr) \
{ \
os << addr.METH(); \
return os; \
}
std::ostringstream os
std::ostream & operator<<(std::ostream &os, const MyComplex &mc)

Definition at line 21 of file ostream.hpp.