rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
rexlib::domain_difference< Domain, Excluded > Struct Template Reference

Named domain holding what one domain has and another lacks. More...

#include <rexlib/core/numerical/numerical_type_domain_tags.hpp>

Inheritance diagram for rexlib::domain_difference< Domain, Excluded >:
rexlib::named_domain< domain_difference< Domain, Excluded > >

Static Public Attributes

static REXLIB_CONST_CONSTEXPR numerical_type_domain value
 

Additional Inherited Members

- Static Public Member Functions inherited from rexlib::named_domain< domain_difference< Domain, Excluded > >
static const numerical_type_domain & get () noexcept
 Get the domain.
 

Detailed Description

template<typename Domain, typename Excluded>
struct rexlib::domain_difference< Domain, Excluded >

Named domain holding what one domain has and another lacks.

States an exclusion directly, which reads better than the intersection with a complement when an operation admits everything but a handful of types.

Template Parameters
DomainThe domain to take types from.
ExcludedThe domain whose types are removed.

Member Data Documentation

◆ value

REXLIB_CONST_CONSTEXPR numerical_type_domain rexlib::domain_difference< Domain, Excluded >::value
static
Initial value:
=
Domain::value & ~Excluded::value

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