![]() |
Birth Generator 1.1.1
Procedural birth date generation for C++23
|
Strong type for specifying a birth year. More...
#include <birthgen.hpp>
Public Member Functions | |
| constexpr | year_t (std::uint16_t v) noexcept |
Public Attributes | |
| std::uint16_t | value |
Strong type for specifying a birth year.
Wraps a plain integer to prevent overload ambiguity with seed parameters. Must be constructed explicitly: year_t{1990}.
Definition at line 57 of file birthgen.hpp.
|
inlineexplicitconstexprnoexcept |
Definition at line 60 of file birthgen.hpp.
| std::uint16_t dasmig::year_t::value |
Definition at line 59 of file birthgen.hpp.