MySQL 9.1.0
Source Code Documentation
classic_protocol::borrowable::wire::String< Borrowed > Class Template Reference

#include <classic_protocol_wire.h>

Inheritance diagram for classic_protocol::borrowable::wire::String< Borrowed >:
[legend]

Public Types

using value_type = std::conditional_t< Borrowed, std::string_view, std::string >
 

Public Member Functions

constexpr String ()=default
 
constexpr String (value_type str)
 
constexpr value_type value () const
 

Private Attributes

value_type str_
 

Member Typedef Documentation

◆ value_type

template<bool Borrowed>
using classic_protocol::borrowable::wire::String< Borrowed >::value_type = std::conditional_t<Borrowed, std::string_view, std::string>

Constructor & Destructor Documentation

◆ String() [1/2]

template<bool Borrowed>
constexpr classic_protocol::borrowable::wire::String< Borrowed >::String ( )
constexprdefault

◆ String() [2/2]

template<bool Borrowed>
constexpr classic_protocol::borrowable::wire::String< Borrowed >::String ( value_type  str)
inlineconstexpr

Member Function Documentation

◆ value()

template<bool Borrowed>
constexpr value_type classic_protocol::borrowable::wire::String< Borrowed >::value ( ) const
inlineconstexpr

Member Data Documentation

◆ str_

template<bool Borrowed>
value_type classic_protocol::borrowable::wire::String< Borrowed >::str_
private

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