|
Phyth v0.1.0
A dimensional safe C++ header-only mechanics and electromagnetics simulation library.
|
Trait: check if a type is a Unit instantiation. More...
#include <Unit.hpp>


Trait: check if a type is a Unit instantiation.
| T | The type to check |
Example: static_assert(is_unit_v<Unit<Length>>); // true static_assert(is_unit_v<int>); // false