template <class Rep, class Period = ratio<1> > class duration;
| member type | definition | notes |
|---|---|---|
| rep | The first template parameter (Rep) | Representation type used as the type for the internal count object. |
| period | The second template parameter (Period) | The ratio type that represents a period in seconds. |