MySQL 9.6.0
Source Code Documentation
map_or_set_assign.h File Reference

Experimental API header. More...

Go to the source code of this file.

Namespaces

namespace  mysql
 
namespace  mysql::containers
 
namespace  mysql::containers::throwing
 

Functions

void mysql::containers::node_handle_assign (auto &node_handle, auto &iterator) noexcept
 For a node_handle retrieved from the extract member of one of the std::[unordered_][multi]{set|map} containers, and an iterator over a container with the same value_type, copy the value pointed to by the iterator to the node_handle. More...
 
template<class Map_or_set_t >
auto mysql::containers::make_empty_map_or_set_and_copy_metadata (const Map_or_set_t &map_or_set)
 Return a new object of the same type as the parameter, without any elements, with the same allocator, and if the object type has key comparison, the same comparison object. More...
 
template<class Map_or_set_t , class Source_iterator_t >
requires std::convertible_to< mysql::ranges::Iterator_value_type<Source_iterator_t>, mysql::ranges::Range_value_type<Map_or_set_t>>
void mysql::containers::throwing::map_or_set_assign (Map_or_set_t &map_or_set, const Source_iterator_t &first, const std::sentinel_for< Source_iterator_t > auto &last)
 Replace the contents of container with that of the range given by the two iterators, minimizing memory allocations. More...
 
template<class Source_iterator_t >
auto mysql::containers::map_or_set_assign (auto &map_or_set, const Source_iterator_t &first, const std::sentinel_for< Source_iterator_t > auto &last) noexcept
 Replace the contents of container with that of the range given by the two iterators, minimizing memory allocations. More...
 

Detailed Description

Experimental API header.