Convert the specified minutes literal to a TimeInterval.
Synopsis
Declared in <bsls_timeinterval.h>
constexpr
bsls::TimeInterval
operator""_min(unsigned long long minutes);
Description
This user defined literal operator converts the specified minutes value to the respective TimeInterval value. The behavior is undefined unless the specified number of minutes can be converted to valid TimeInterval object. (See the "User‐Defined Literals" section in the component‐level documentation.)
Return Value
a TimeInterval representing the specified number of minutes
Parameters
Name |
Description |
minutes |
minutes literal |
Created with MrDocs