A generator that generates consecutive Jieqis and their moments (in JDE), starting from a given JDE (exclusive).
More...
#include <jieqi.hpp>
A generator that generates consecutive Jieqis and their moments (in JDE), starting from a given JDE (exclusive).
◆ JieqiGenerator()
| calendar::jieqi::JieqiGenerator::JieqiGenerator |
( |
const double | start_jde | ) |
|
|
inlineexplicit |
◆ next()
| auto calendar::jieqi::JieqiGenerator::next |
( |
| ) |
->JieqiPair |
|
inlinenodiscard |
Return the pending Jieqi, advancing only after a successful evaluation.
◆ peek()
| auto calendar::jieqi::JieqiGenerator::peek |
( |
| ) |
const->JieqiPair |
|
inlinenodiscard |
Evaluate the pending Jieqi without advancing.
The documentation for this struct was generated from the following file: