TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
concept_tools.hpp
#include <boost/preprocessor/punctuation/comma_if.hpp>
#include <boost/preprocessor/seq/for_each_i.hpp>
#include <type_traits>

Detailed Description

Macros that define a legacy (pre C++20) concept-tag trait pair.

Definition in file concept_tools.hpp.

Go to the source code of this file.

Macros

#define TRIQS_CONCEPT_TAG_NAME(MyBeautifulConcept)
 Helper macro that produces the name of the tag for TRIQS_DEFINE_CONCEPT_AND_ASSOCIATED_TRAIT.
#define TRIQS_DEFINE_CONCEPT_AND_ASSOCIATED_TRAIT(MyBeautifulConcept)
 Define a tag-based pseudo-concept.
#define TRIQS_DEFINE_CONCEPT_AND_ASSOCIATED_TRAIT_R(MyBeautifulConcept, Rs)
 Define a tag-based pseudo-concept with refinements.
#define TRIQS_DEFINE_CONCEPT_AND_ASSOCIATED_TRAIT_R_AUX(r, data, i, elem)
 Helper used by TRIQS_DEFINE_CONCEPT_AND_ASSOCIATED_TRAIT_R.