CelestialCalendar 1.0.0 · unreleased development @ 67a7c4c79a4a4a6aa7e703c9e6f0039ae34bee82
Loading...
Searching...
No Matches
calendar::lunar::common::AlgoMetadata< algo > Struct Template Reference

The type trait for the lunar algorithm, expected specializations in every algorithm implementation. More...

Detailed Description

template<Algo algo>
struct calendar::lunar::common::AlgoMetadata< algo >

The type trait for the lunar algorithm, expected specializations in every algorithm implementation.

Parameters
get_info_for_yearThe function to get the lunar year information for the given year. 用于使用该算法获取给定年份的阴历年信息的函数。
boundsThe bounds of the algorithm, i.e. the supported range of lunar and Gregorian dates. 算法支持的阴历和公历日期的范围。
Note
bounds comes through an accessor function — an eagerly-bound member would initialize at image load (defeating algo2's lazy init, #67).

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