File indexing completed on 2025-01-18 09:30:40
0001 #ifndef YearMonthDayBase_HPP__
0002 #define YearMonthDayBase_HPP__
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #include <boost/date_time/compiler_config.hpp>
0013
0014 namespace boost {
0015 namespace date_time {
0016
0017
0018 template<typename YearType, typename MonthType, typename DayType>
0019 struct BOOST_SYMBOL_VISIBLE year_month_day_base {
0020 BOOST_CXX14_CONSTEXPR
0021 year_month_day_base(YearType year,
0022 MonthType month,
0023 DayType day);
0024
0025 YearType year;
0026 MonthType month;
0027 DayType day;
0028 typedef YearType year_type;
0029 typedef MonthType month_type;
0030 typedef DayType day_type;
0031 };
0032
0033
0034
0035 template<typename YearType, typename MonthType, typename DayType>
0036 inline BOOST_CXX14_CONSTEXPR
0037 year_month_day_base<YearType,MonthType,DayType>::year_month_day_base(YearType y,
0038 MonthType m,
0039 DayType d) :
0040 year(y),
0041 month(m),
0042 day(d)
0043 {}
0044
0045 } }
0046
0047
0048 #endif
0049