Qx v0.5.8
Qt Extensions Library
Loading...
Searching...
No Matches
Qx::static_castable_to Concept Reference

Specifies that a type can be statically cast to another type. More...

Concept definition

template<class K, typename T>
concept Qx::static_castable_to = requires(K klass) {{ static_cast<T>(klass) };}
Specifies that a type can be statically cast to another type.
Definition qx-concepts.h:509

Detailed Description

Satisfied if K can be converted to T using static_cast<>().