Template Class var¶
Defined in File var.hpp
Class Documentation¶
-
template<typename T>
class util::var¶ A wrapper for strongly typed variables.
This class can be used to wrap a basic data type in C++ to get string typing through named types. The named types can only be constructed explicitly and used as parameters for functions to avoid ambiguity errors.
using height = util::var<unsigned long long>; height h;
- tparam T
the type of the contained value