A container with SFINAE-constrained member functions. More...
| Header: | #include <sfinae_constraints.h> |
| void | mixedConstraints(const T &value) |
| void | multiConstrained(const T &value) |
| void | multiLayerSugar(const T &value) |
| void | namespacedAlias(const T &value) |
| void | process(const T &value) |
This class demonstrates SFINAE constraint detection in QDoc.
Processes the given value using both SFINAE and an explicit requires clause. The combined constraint ensures the type T satisfies both the SFINAE alias and the direct type trait.
Processes the given value with multiple constraints. This function is only available when the type T is both arithmetic and signed.
Processes the given value using an alias that itself wraps another alias, testing multi-layer sugar chain detection.
Processes the given value using a namespaced SFINAE alias. The rendered constraint preserves the QtPrivate qualification.
Processes the given value. This function is only available when the type T satisfies the if_integral constraint.