MySQL  8.0.12
Source Code Documentation
ib Namespace Reference

Classes

class  error
 The class error is used to emit error messages. More...
 
class  error_or_warn
 Emit an error message if the given predicate is true, otherwise emit a warning message. More...
 
class  fatal
 The class fatal is used to emit an error message and stop the server by crashing it. More...
 
class  fatal_or_error
 Emit a fatal message if the given predicate is true, otherwise emit a error message. More...
 
struct  hex
 This is a wrapper class, used to print any unsigned integer type in hexadecimal format. More...
 
class  info
 The class info is used to emit informational log messages. More...
 
class  logger
 The class logger is the base class of all the error log related classes. More...
 
class  warn
 The class warn is used to emit warnings. More...
 

Functions

std::ostream & operator<< (std::ostream &lhs, const hex &rhs)
 This is an overload of the global operator<< for the user defined type ib::hex. More...
 

Function Documentation

◆ operator<<()

std::ostream& ib::operator<< ( std::ostream &  lhs,
const hex rhs 
)
inline

This is an overload of the global operator<< for the user defined type ib::hex.

The unsigned value held in the ib::hex wrapper class will be printed into the given output stream in hexadecimal format.

Parameters
[in,out]lhsthe output stream into which rhs is written.
[in]rhsthe object to be written into lhs.
Return values
referenceto the output stream.