mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-27 00:14:07 +08:00
018a50bcd0
The NVCC compiler fails to compile the date library due to a compiler bug which causes it to emit an error when directly using std::ratio_{multiply,divide} in the template instantiations for std::duration. This PR works around the issue by introducing custom ratio_{multiply,divide} which delegate to the standard library templates