Birth Generator 3.2.2
Procedural birth date generation for C++23
Loading...
Searching...
No Matches
birthgen.hpp File Reference

Birth generator library — procedural birthday generation for C++23. More...

#include "core.hpp"
#include <algorithm>
#include <array>
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <filesystem>
#include <format>
#include <map>
#include <optional>
#include <ostream>
#include <span>
#include <stdexcept>
#include <string>
#include <string_view>
#include <system_error>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

struct  dasmig::year_t
 Strong type for a requested birth year. More...
 
struct  dasmig::age_range
 An inclusive range of ages in completed years. More...
 
struct  dasmig::birth_request
 All per-call birth filters and settings. More...
 
class  dasmig::birth
 Return type for birth generation. More...
 
class  dasmig::bthg
 Birth generator that produces demographically plausible birthdays from country age pyramids. More...
 

Detailed Description

Birth generator library — procedural birthday generation for C++23.

Author
Diego Dasso Migotto (diegomigotto at hotmail dot com)
See also
See doc/usage.md for the narrative tutorial.

Definition in file birthgen.hpp.