24#ifndef MYSQL_SETS_BASIC_SET_CONTAINER_WRAPPER_H
25#define MYSQL_SETS_BASIC_SET_CONTAINER_WRAPPER_H
42template <
class Self_tp,
class Wrapped_tp,
43 mysql::utils::Shall_catch shall_catch_tp =
44 mysql::utils::Shall_catch::no>
54 template <
class... Args_t>
56 :
Base_t(
std::forward<Args_t>(args)...) {}
62 template <
class Source_t>
77template <
class Source_t,
class Target_t>
90 typename Target_t::Wrapped_t>);
96template <
class Source_t,
class Target_t>
CRTP base class (mixin) to define a wrapper around a container.
Definition: basic_container_wrapper.h:59
auto assign(const First_iterator_t &first, const Sentinel_t &last) noexcept(shall_catch==mysql::utils::Shall_catch::yes||noexcept(std::declval< Wrapped_t >().assign(first, last)))
Assign a range defined by the two iterators to the wrapped object.
Definition: basic_container_wrapper.h:83
auto & wrapped() &noexcept
Definition: basic_container_wrapper.h:183
Definition: basic_set_container_wrapper.h:47
Basic_set_container_wrapper(Args_t &&...args)
Definition: basic_set_container_wrapper.h:55
void assign(Source_t &&source)
Enable move-assign from any Basic_set_container_wrapper for a compatible set type (not necessarily fo...
Definition: basic_set_container_wrapper.h:67
True if move-semantics has been declared as enabled for full-set-copy operations for the given operan...
Definition: meta.h:83
True if move-semantics has been declared as enabled for full-set-copy operations for the given operan...
Definition: meta.h:90
True if Set1_t and Set2_t have the same Set_category_t and Set_traits_t.
Definition: set_categories_and_traits.h:77
Definition: basic_set_container_wrapper.h:78
Definition: fts0fts.cc:236
Definition: gtid_set.h:183
bool is_same_object(const Obj1_t &obj1, const Obj2_t &obj2)
Return true if the types of the two objects are either equal or one derived from the other,...
Definition: is_same_object.h:40
Define std::hash<Gtid>.
Definition: gtid.h:355
repeated Source source
Definition: replication_asynchronous_connection_failover.proto:42
Customization point that set container types can use to indicate that they support noexcept move-sema...
Definition: meta.h:74