Hacker News new | past | comments | ask | show | jobs | submit login

This is exactly what C++ 11 did with std::chrono [0] except it goes one step further and makes the period generic too.

[0] https://en.cppreference.com/w/cpp/chrono/duration




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: