Country Generator 3.3.2
Procedural country generation for C++23
Loading...
Searching...
No Matches
dasmig::language_share Struct Reference

One language of a country and the share of its population that speaks it. More...

#include <countrygen.hpp>

Public Attributes

std::string name
 English name of the language (for example "Portuguese").
 
double percent {0.0}
 Percent of the population that speaks it, 0 to 100.
 

Detailed Description

One language of a country and the share of its population that speaks it.

Definition at line 48 of file countrygen.hpp.

Member Data Documentation

◆ name

std::string dasmig::language_share::name

English name of the language (for example "Portuguese").

Definition at line 50 of file countrygen.hpp.

◆ percent

double dasmig::language_share::percent {0.0}

Percent of the population that speaks it, 0 to 100.

Definition at line 51 of file countrygen.hpp.


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