Loading...
Searching...
No Matches
eonc::ThreadSafeQueryable Concept Reference

Duck-typed thread-safety query. More...

#include <PotCapabilities.h>

Concept definition

template<class P>
concept ThreadSafeQueryable = requires(const P &p) {
{ p.isThreadSafe() } -> std::convertible_to<bool>;
}
Duck-typed thread-safety query.

Detailed Description

Duck-typed thread-safety query.

Virtual Potential::isThreadSafe stays the override point; callers should prefer these nonmembers so a later trait/concept cut does not touch every NEB/dimer TU.

Definition at line 24 of file PotCapabilities.h.