|
SpECTRE
v2025.08.19
|
Checks if the ConformingType conforms to the Protocol.
More...
#include <ProtocolHelpers.hpp>
Checks if the ConformingType conforms to the Protocol.
This metafunction is SFINAE-friendly. See tt::assert_conforms_to for a metafunction that is not SFINAE-friendly but that triggers static asserts with diagnostic messages to understand why the ConformingType does not conform to the Protocol.
This metafunction only checks if the class derives off the protocol to reduce compile time. Protocol conformance is tested rigorously in the unit tests instead.