mirror of
https://github.com/ETLCPP/etl.git
synced 2026-10-28 18:07:10 +08:00
Fix etl::chrono floor/ceil/round/abs being declared in the wrong namespace The duration overloads of floor, ceil, round and abs were defined in namespace etl rather than etl::chrono, so qualified calls such as etl::chrono::floor<seconds>(ms) only found the time_point overload and failed to compile. Moved them into namespace chrono next to duration_cast and removed the old etl-scope definitions, which also fixes the unqualified calls made from time_point.h. Fix comment about rounding behavior Use cmath functions from std namespace GCC 16 doesn't support them in the global namespace anymore. |
||
|---|---|---|
| .. | ||
| duration | ||
| month | ||
| weekday | ||
| year | ||
| _index.md | ||
| chrono-literals.md | ||
| clocks.md | ||
| day.md | ||
| hh_mm_ss.md | ||
| last_spec.md | ||
| operators.md | ||
| time_point.md | ||