LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
util::quantities::concepts::details::category_traits< Cat > Struct Template Reference

#include "intervals.h"

Public Types

using category_t = Cat
 The categories the traits are about. More...
 

Static Public Member Functions

template<typename OC >
static constexpr bool compatible_with ()
 Returns whether the category OC is "compatible" with this one. More...
 

Static Public Attributes

static constexpr bool has_name = category_has_name<category_t>()
 Whether the category supports name() call. More...
 

Detailed Description

template<typename Cat>
struct util::quantities::concepts::details::category_traits< Cat >

Definition at line 1121 of file intervals.h.

Member Typedef Documentation

template<typename Cat >
using util::quantities::concepts::details::category_traits< Cat >::category_t = Cat

The categories the traits are about.

Definition at line 1123 of file intervals.h.

Member Function Documentation

template<typename Cat >
template<typename OC >
static constexpr bool util::quantities::concepts::details::category_traits< Cat >::compatible_with ( )
inlinestatic

Returns whether the category OC is "compatible" with this one.

Definition at line 1130 of file intervals.h.

1131  {
1132  return util::is_any_of_v<OC, NoCategory, category_t>;
1133  }

Member Data Documentation

template<typename Cat >
constexpr bool util::quantities::concepts::details::category_traits< Cat >::has_name = category_has_name<category_t>()
static

Whether the category supports name() call.

Definition at line 1126 of file intervals.h.


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