MySQL 9.1.0
Source Code Documentation
classic_protocol::borrowable::binary::TypeBase< T > Class Template Reference

base type of all binary scalar value types. More...

#include <classic_protocol_binary.h>

Public Types

using value_type = T
 

Public Member Functions

constexpr TypeBase (value_type val)
 
constexpr value_type value () const
 

Private Attributes

value_type v_
 

Friends

bool operator== (const TypeBase &lhs, const TypeBase &rhs)
 
bool operator!= (const TypeBase &lhs, const TypeBase &rhs)
 

Detailed Description

template<class T>
class classic_protocol::borrowable::binary::TypeBase< T >

base type of all binary scalar value types.

Member Typedef Documentation

◆ value_type

template<class T >
using classic_protocol::borrowable::binary::TypeBase< T >::value_type = T

Constructor & Destructor Documentation

◆ TypeBase()

template<class T >
constexpr classic_protocol::borrowable::binary::TypeBase< T >::TypeBase ( value_type  val)
inlineconstexpr

Member Function Documentation

◆ value()

template<class T >
constexpr value_type classic_protocol::borrowable::binary::TypeBase< T >::value ( ) const
inlineconstexpr

Friends And Related Function Documentation

◆ operator!=

template<class T >
bool operator!= ( const TypeBase< T > &  lhs,
const TypeBase< T > &  rhs 
)
friend

◆ operator==

template<class T >
bool operator== ( const TypeBase< T > &  lhs,
const TypeBase< T > &  rhs 
)
friend

Member Data Documentation

◆ v_

template<class T >
value_type classic_protocol::borrowable::binary::TypeBase< T >::v_
private

The documentation for this class was generated from the following file: