Time Duration

This lesson gives a brief introduction to a time duration class template and explains it with the help of interactive examples.

Time duration std::chrono::duration is a class template that consists of the type of the tick Rep and the length of a tick Period.

Get hands-on with 1200+ tech skills courses.