TinyThread++: duration< _Rep, _Period > Class Template Reference

# duration< _Rep, _Period > Class Template Reference

Duration template class. More...

`#include <tinythread.h>`

List of all members.

## Public Member Functions
template<class _Rep2 >
| duration (const _Rep2 &r)
| Construct a duration object with the given duration.
rep | count () const
| Return the value of the duration object.

## Detailed Description

### template<class _Rep, class _Period = ratio<1>>
class tthread::chrono::duration< _Rep, _Period >

Duration template class.

This class provides enough functionality to implement `this_thread::sleep_for()`.

The documentation for this class was generated from the following file:

- tinythread.h