|
nkr
A C++20 library with a custom meta-programming language.
|
Used to filter a type by its qualifications, and by other types, templates, identities, and generics in the context of a declaration. More...
Used to filter a type by its qualifications, and by other types, templates, identities, and generics in the context of a declaration.
Distinct from the nkr::TR function, nkr::tr is a concept that can be used in the context of type and function declarations where only one subject is implicitly allowed for constraint. In the library proper, it is far more common to see this concept in use as compared to the underlying function, which is more prevalent in static_asserts such as are found in the numerous test suites for nkr.
tr postfix. Instead it is simply named as such to strongly indicate that all other traits can be combined by use of this one.