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

Helper class to print time durations in HH:MM:SS.UUUUUU format. More...

#include <as_hhmmss.hpp>

Public Member Functions

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

Public Attributes

std::chrono::microseconds t
 

Detailed Description

Helper class to print time durations in HH:MM:SS.UUUUUU format.

Definition at line 58 of file as_hhmmss.hpp.

Constructor & Destructor Documentation

◆ as_hh_mm_ss_u()

template<typename time_duration_t >
jb::as_hh_mm_ss_u::as_hh_mm_ss_u ( 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 68 of file as_hhmmss.hpp.

Member Data Documentation

◆ t

std::chrono::microseconds jb::as_hh_mm_ss_u::t

Definition at line 72 of file as_hhmmss.hpp.

Referenced by jb::operator<<().


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