MySQL 9.7.0
Source Code Documentation
helper::container Namespace Reference

Functions

template<typename Container , typename Value >
bool any_of (const Container &c, const Value &value)
 
template<typename Container >
Container::mapped_type get_value_default (const Container &container, const typename Container::key_type &key, typename Container::mapped_type &&default_value)
 
template<typename Container >
bool get_value (Container &container, const typename Container::key_type &key, typename Container::mapped_type *out)
 
template<typename Container , typename Output >
bool get_value_other (Container &container, const typename Container::key_type &key, Output *out)
 
template<typename Container , typename Output >
bool get_value_other (Container &container, const typename Container::key_type &key, Output out)
 
template<typename PairFirst , typename PairSecond >
std::string to_string (const std::pair< PairFirst, PairSecond > &pair)
 
template<typename Container >
std::string to_string (const Container &container)
 

Function Documentation

◆ any_of()

template<typename Container , typename Value >
bool helper::container::any_of ( const Container &  c,
const Value &  value 
)

◆ get_value()

template<typename Container >
bool helper::container::get_value ( Container &  container,
const typename Container::key_type &  key,
typename Container::mapped_type *  out 
)

◆ get_value_default()

template<typename Container >
Container::mapped_type helper::container::get_value_default ( const Container &  container,
const typename Container::key_type &  key,
typename Container::mapped_type &&  default_value 
)

◆ get_value_other() [1/2]

template<typename Container , typename Output >
bool helper::container::get_value_other ( Container &  container,
const typename Container::key_type &  key,
Output *  out 
)

◆ get_value_other() [2/2]

template<typename Container , typename Output >
bool helper::container::get_value_other ( Container &  container,
const typename Container::key_type &  key,
Output  out 
)

◆ to_string() [1/2]

template<typename Container >
std::string helper::container::to_string ( const Container &  container)

◆ to_string() [2/2]

template<typename PairFirst , typename PairSecond >
std::string helper::container::to_string ( const std::pair< PairFirst, PairSecond > &  pair)