MySQL 9.6.0
Source Code Documentation
mysql::ranges::detail::Make_pair Struct Reference

#include <disjoint_pairs.h>

Static Public Member Functions

template<class Type_t >
constexpr static std::pair< Type_t &, Type_t & > make_pair (Type_t &first, Type_t &second)
 Return a pair from the given arguments. More...
 
template<class Type_t >
constexpr static std::pair< Type_t, Type_t > make_pair (const Type_t &first, const Type_t &second)
 

Member Function Documentation

◆ make_pair() [1/2]

template<class Type_t >
constexpr static std::pair< Type_t, Type_t > mysql::ranges::detail::Make_pair::make_pair ( const Type_t &  first,
const Type_t &  second 
)
inlinestaticconstexpr

◆ make_pair() [2/2]

template<class Type_t >
constexpr static std::pair< Type_t &, Type_t & > mysql::ranges::detail::Make_pair::make_pair ( Type_t &  first,
Type_t &  second 
)
inlinestaticconstexpr

Return a pair from the given arguments.

The component types will be references if the arguments are lvalue references, and values if the arguments are rvalue references or values.


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