Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Loading...
Searching...
No Matches
Functions
chrono.h File Reference
#include <chrono>
#include <string>
#include <sstream>
#include <ctime>

Go to the source code of this file.

Functions

std::string to_string (const std::time_t &time)
 
template<typename Clock , typename Duration = typename Clock::duration>
std::string to_string (const std::chrono::time_point< Clock, Duration > &tp)
 
template<typename Rep , typename Period = std::ratio< 1 >>
std::string to_string (const std::chrono::duration< Rep, Period > &duration)
 
template<typename Clock , typename Duration = typename Clock::duration>
std::ostream & operator<< (std::ostream &o, const std::chrono::time_point< Clock, Duration > &tp)
 
template<typename Rep , typename Period = std::ratio< 1 >>
std::ostream & operator<< (std::ostream &o, const std::chrono::duration< Rep, Period > &duration)
 

Function Documentation

◆ operator<<() [1/2]

template<typename Rep , typename Period = std::ratio< 1 >>
std::ostream & operator<< ( std::ostream &  o,
const std::chrono::duration< Rep, Period > &  duration 
)

◆ operator<<() [2/2]

template<typename Clock , typename Duration = typename Clock::duration>
std::ostream & operator<< ( std::ostream &  o,
const std::chrono::time_point< Clock, Duration > &  tp 
)

◆ to_string() [1/3]

template<typename Rep , typename Period = std::ratio< 1 >>
std::string to_string ( const std::chrono::duration< Rep, Period > &  duration)

◆ to_string() [2/3]

template<typename Clock , typename Duration = typename Clock::duration>
std::string to_string ( const std::chrono::time_point< Clock, Duration > &  tp)

◆ to_string() [3/3]

std::string to_string ( const std::time_t &  time)
inline