Birth Generator 3.2.2
Procedural birth date generation for C++23
Loading...
Searching...
No Matches
dasmig::year_t Struct Reference

Strong type for a requested birth year. More...

#include <birthgen.hpp>

Public Member Functions

constexpr year_t (std::uint16_t v) noexcept
 Construct from a year.
 

Public Attributes

std::uint16_t value
 The year.
 

Detailed Description

Strong type for a requested birth year.

Definition at line 41 of file birthgen.hpp.

Constructor & Destructor Documentation

◆ year_t()

constexpr dasmig::year_t::year_t ( std::uint16_t  v)
inlineexplicitconstexprnoexcept

Construct from a year.

Parameters
vThe year.

Definition at line 47 of file birthgen.hpp.

Member Data Documentation

◆ value

std::uint16_t dasmig::year_t::value

The year.

Definition at line 43 of file birthgen.hpp.


The documentation for this struct was generated from the following file: