MySQL 9.1.0
Source Code Documentation
ut0core.h File Reference
#include <string.h>
#include <sstream>
#include "ut0dbg.h"

Go to the source code of this file.

Classes

struct  ut::Location
 
struct  ib::hex
 This is a wrapper class, used to print any unsigned integer type in hexadecimal format. More...
 

Namespaces

namespace  ut
 This file contains a set of libraries providing overloads for regular dynamic allocation routines which allow for opt-in memory instrumentation through performance schema memory engine (PFS).
 
namespace  ib
 

Macros

#define UT_LOCATION_HERE   (ut::Location{__FILE__, __LINE__})
 

Functions

std::ostream & operator<< (std::ostream &out, const ut::Location &obj)
 
static const char * ib::get_first_format (const char *fmt)
 Finds the first format specifier in fmt format string. More...
 
static bool ib::verify_fmt_match (const char *fmt)
 Verifies that the fmt format string does not require any arguments. More...
 
template<typename Head , typename... Tail>
static bool ib::verify_fmt_match (const char *fmt, Head &&head, Tail &&...tail)
 Verifies that the fmt format string contains format specifiers which match the type and order of the arguments. More...
 
std::ostream & ib::operator<< (std::ostream &lhs, const hex &rhs)
 This is an overload of the global operator<< for the user defined type ib::hex. More...
 

Macro Definition Documentation

◆ UT_LOCATION_HERE

#define UT_LOCATION_HERE   (ut::Location{__FILE__, __LINE__})

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  out,
const ut::Location obj 
)
inline