LLDB mainline
Public Member Functions | Private Types | List of all members
lldb_private::Timeout< Ratio > Class Template Reference

#include <Timeout.h>

Inheritance diagram for lldb_private::Timeout< Ratio >:
Inheritance graph
[legend]

Public Member Functions

 Timeout (std::nullopt_t none)
 
template<typename Ratio2 , typename = typename EnableIf<int64_t, Ratio2>::type>
 Timeout (const Timeout< Ratio2 > &other)
 
template<typename Rep2 , typename Ratio2 , typename = typename EnableIf<Rep2, Ratio2>::type>
 Timeout (const std::chrono::duration< Rep2, Ratio2 > &other)
 

Private Types

template<typename Ratio2 >
using Dur = std::chrono::duration< int64_t, Ratio2 >
 
template<typename Rep2 , typename Ratio2 >
using EnableIf = std::enable_if< std::is_convertible< std::chrono::duration< Rep2, Ratio2 >, std::chrono::duration< int64_t, Ratio > >::value >
 
using Base = std::optional< Dur< Ratio > >
 

Detailed Description

template<typename Ratio>
class lldb_private::Timeout< Ratio >

Definition at line 28 of file Timeout.h.

Member Typedef Documentation

◆ Base

template<typename Ratio >
using lldb_private::Timeout< Ratio >::Base = std::optional<Dur<Ratio> >
private

Definition at line 36 of file Timeout.h.

◆ Dur

template<typename Ratio >
template<typename Ratio2 >
using lldb_private::Timeout< Ratio >::Dur = std::chrono::duration<int64_t, Ratio2>
private

Definition at line 30 of file Timeout.h.

◆ EnableIf

template<typename Ratio >
template<typename Rep2 , typename Ratio2 >
using lldb_private::Timeout< Ratio >::EnableIf = std::enable_if< std::is_convertible<std::chrono::duration<Rep2, Ratio2>, std::chrono::duration<int64_t, Ratio> >::value>
private

Definition at line 32 of file Timeout.h.

Constructor & Destructor Documentation

◆ Timeout() [1/3]

template<typename Ratio >
lldb_private::Timeout< Ratio >::Timeout ( std::nullopt_t  none)
inline

Definition at line 39 of file Timeout.h.

◆ Timeout() [2/3]

template<typename Ratio >
template<typename Ratio2 , typename = typename EnableIf<int64_t, Ratio2>::type>
lldb_private::Timeout< Ratio >::Timeout ( const Timeout< Ratio2 > &  other)
inline

Definition at line 43 of file Timeout.h.

◆ Timeout() [3/3]

template<typename Ratio >
template<typename Rep2 , typename Ratio2 , typename = typename EnableIf<Rep2, Ratio2>::type>
lldb_private::Timeout< Ratio >::Timeout ( const std::chrono::duration< Rep2, Ratio2 > &  other)
inline

Definition at line 48 of file Timeout.h.


The documentation for this class was generated from the following files: