24#ifndef MYSQL_SETS_BOUNDARY_SET_COMPLEMENT_VIEW_H
25#define MYSQL_SETS_BOUNDARY_SET_COMPLEMENT_VIEW_H
48template <Is_boundary_set Source_tp>
51 typename Source_tp::Set_traits_t>,
68 [[nodiscard]]
bool empty()
const {
70 make_full_set_view<Boundary_set_category_tag, Set_traits_t>();
CRTP base class to provide members of a collection based on an implementation that provides begin/end...
Definition: collection_interface.h:90
typename Source_t::Set_traits_t Set_traits_t
Definition: boundary_set_complement_view.h:55
Complement_view(const Source_t &source)
Construct the complement view over the given source.
Definition: boundary_set_complement_view.h:63
const Source_t & source() const
Return the source boundary set, that this is the complement of.
Definition: boundary_set_complement_view.h:74
Source_tp Source_t
Definition: boundary_set_complement_view.h:54
Complement_view()=default
bool empty() const
Definition: boundary_set_complement_view.h:68
This can be specialized to specific set categories, e.g.
Definition: base_complement_view.h:43
Forward declaration of primary template for views over "full" sets, i.e., the complement of the empty...
Definition: base_const_views.h:72
Primary template for views over subtractions of two sets operations.
Definition: base_binary_operation_views.h:68
Definition: gtid_set.h:183
auto & make_full_set_view()
Return a reference to a singleton object representing the view containing the empty set,...
Definition: base_const_views.h:77
repeated Source source
Definition: replication_asynchronous_connection_failover.proto:42
Tag to identify a class as a Boundary set.
Definition: boundary_set_category.h:41