iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
iox2::bb::duration_literals Namespace Reference

Functions

constexpr auto operator""_ns (unsigned long long int value) noexcept -> Duration
 Constructs a new Duration object from nanoseconds.
 
constexpr auto operator""_us (unsigned long long int value) noexcept -> Duration
 Constructs a new Duration object from microseconds.
 
constexpr auto operator""_ms (unsigned long long int value) noexcept -> Duration
 Constructs a new Duration object from milliseconds.
 
constexpr auto operator""_s (unsigned long long int value) noexcept -> Duration
 Constructs a new Duration object from seconds.
 
constexpr auto operator""_m (unsigned long long int value) noexcept -> Duration
 Constructs a new Duration object from minutes.
 
constexpr auto operator""_h (unsigned long long int value) noexcept -> Duration
 Constructs a new Duration object from hours.
 
constexpr auto operator""_d (unsigned long long int value) noexcept -> Duration
 Constructs a new Duration object from days.
 

Function Documentation

◆ operator""_d()

constexpr auto iox2::bb::duration_literals::operator""_d ( unsigned long long int  value) -> Duration
constexprnoexcept

Constructs a new Duration object from days.

Definition at line 800 of file duration.hpp.

References iox2::bb::Duration::from_days().

◆ operator""_h()

constexpr auto iox2::bb::duration_literals::operator""_h ( unsigned long long int  value) -> Duration
constexprnoexcept

Constructs a new Duration object from hours.

Definition at line 795 of file duration.hpp.

References iox2::bb::Duration::from_hours().

◆ operator""_m()

constexpr auto iox2::bb::duration_literals::operator""_m ( unsigned long long int  value) -> Duration
constexprnoexcept

Constructs a new Duration object from minutes.

Definition at line 790 of file duration.hpp.

References iox2::bb::Duration::from_mins().

◆ operator""_ms()

constexpr auto iox2::bb::duration_literals::operator""_ms ( unsigned long long int  value) -> Duration
constexprnoexcept

Constructs a new Duration object from milliseconds.

Definition at line 780 of file duration.hpp.

References iox2::bb::Duration::from_millis().

◆ operator""_ns()

constexpr auto iox2::bb::duration_literals::operator""_ns ( unsigned long long int  value) -> Duration
constexprnoexcept

Constructs a new Duration object from nanoseconds.

Definition at line 770 of file duration.hpp.

References iox2::bb::Duration::from_nanos().

◆ operator""_s()

constexpr auto iox2::bb::duration_literals::operator""_s ( unsigned long long int  value) -> Duration
constexprnoexcept

Constructs a new Duration object from seconds.

Definition at line 785 of file duration.hpp.

References iox2::bb::Duration::from_secs().

◆ operator""_us()

constexpr auto iox2::bb::duration_literals::operator""_us ( unsigned long long int  value) -> Duration
constexprnoexcept

Constructs a new Duration object from microseconds.

Definition at line 775 of file duration.hpp.

References iox2::bb::Duration::from_micros().