JayBeams  0.1
Another project to have fun coding.
Public Member Functions | Public Attributes | List of all members
jb::as_hhmmss Struct Reference

Helper class to print time durations s in HHMMSS format. More...

#include <as_hhmmss.hpp>

Public Member Functions

template<typename time_duration_t >
 as_hhmmss (time_duration_t const &x)
 Constructor. More...
 

Public Attributes

std::chrono::microseconds t
 

Detailed Description

Helper class to print time durations s in HHMMSS format.

Definition at line 35 of file as_hhmmss.hpp.

Constructor & Destructor Documentation

◆ as_hhmmss()

template<typename time_duration_t >
jb::as_hhmmss::as_hhmmss ( time_duration_t const &  x)
inlineexplicit

Constructor.

Parameters
xa time duration in the units specified by the type
Template Parameters
time_duration_tan instance of std::chrono::duration, or any type compatible with std::chrono::duration_cast<>

Definition at line 45 of file as_hhmmss.hpp.

Member Data Documentation

◆ t

std::chrono::microseconds jb::as_hhmmss::t

Definition at line 49 of file as_hhmmss.hpp.

Referenced by jb::operator<<().


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