MySQL 9.6.0
Source Code Documentation
meta.h File Reference

Experimental API header. More...

#include <concepts>
#include <iterator>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  mysql
 
namespace  mysql::ranges
 

Concepts

concept  mysql::ranges::Is_iterator_for_range
 True if Iterator is either the iterator or the const iterator for Range_t.
 
concept  mysql::ranges::Is_collection
 True if Test has the properties of a "collection", i.e., a range with member functions to query size and emptiness.
 
concept  mysql::ranges::Is_collection_over
 True if Test models Is_collection, with Value_t as its value type.
 

Typedefs

template<class Range_t >
using mysql::ranges::Range_iterator_type = std::remove_cvref_t< decltype(std::declval< Range_t >().begin())>
 Gives the iterator type, deduced from the begin() member. More...
 
template<class Range_t >
using mysql::ranges::Range_const_iterator_type = std::remove_cvref_t< decltype(std::declval< const Range_t >().begin())>
 Gives the const_iterator type, deduced from the begin() const member. More...
 
template<class Range_t >
using mysql::ranges::Range_sentinel_type = std::remove_cvref_t< decltype(std::declval< Range_t >().end())>
 Gives the iterator type, deduced from the end() member. More...
 
template<class Iterator_t >
using mysql::ranges::Iterator_value_type = std::remove_cvref_t< decltype(*std::declval< Iterator_t >())>
 Gives the value type for any iterator type, deduced from operator *. More...
 
template<class Range_t >
using mysql::ranges::Range_value_type = Iterator_value_type< Range_iterator_type< Range_t > >
 Gives the value type for any collection, deduced from *begin(). More...
 
template<class Map_t >
using mysql::ranges::Map_key_type = std::remove_cvref_t< decltype(std::declval< Map_t >().begin() ->first)>
 Gives the key type for any collection, deduced from begin()->first. More...
 
template<class Map_t >
using mysql::ranges::Map_mapped_type = std::remove_cvref_t< decltype(std::declval< Map_t >().begin() ->second)>
 Gives the mapped type for any collection, deduced from begin()->first. More...
 

Detailed Description

Experimental API header.