|
diag-trace 5.0.0
µOS++ Tracing Infrastructure
|
Concept constraining the policy class T used by tracer<T>. More...
#include <trace-cpp-api.h>
| T | The policy class to be constrained. |
A conforming T must expose three static, noexcept member functions with the following exact signatures:
The noexcept requirement is enforced by the concept so that a non-conforming policy is rejected at instantiation time rather than silently invoking std::terminate through the unconditionally noexcept free-function wrappers. A clear diagnostic is emitted at the point of instantiation if any required function is absent, has the wrong signature, or is not noexcept.
Definition at line 361 of file trace-cpp-api.h.