SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::discretization::domain::ids::validation::HaveUniqueDomainIDs Concept Reference

Concept to check if a pack of domain IDs have unique ID values. This is used to ensure that no two domain IDs in a list have the same ID. More...

#include <concepts.hpp>

Concept definition

template<typename... DomainIDTs>
Concept to check if a pack of domain IDs have unique ID values. This is used to ensure that no two do...
Definition concepts.hpp:23
consteval bool all_unique_values(Ts... values) noexcept
Utility function to check if a pack of values are all unique.
Definition unique_ids.hpp:26

Detailed Description

Concept to check if a pack of domain IDs have unique ID values. This is used to ensure that no two domain IDs in a list have the same ID.

Template Parameters
DomainIDTsThe pack of domain ID types to check.