C++ Instrument Catalog
Classes | Public Types | Static Public Attributes | List of all members
date::detail::no_overflow< R1, R2 > Struct Template Reference

#include <date.h>

Public Types

typedef std::ratio< mul< n1, d2, !value >::value, mul< n2, d1, !value >::valuetype
 

Static Public Attributes

static const bool value = (n1 <= max / d2) && (n2 <= max / d1)
 

Detailed Description

template<class R1, class R2>
struct date::detail::no_overflow< R1, R2 >

Definition at line 1165 of file date.h.

Member Typedef Documentation

◆ type

template<class R1 , class R2 >
typedef std::ratio<mul<n1, d2, !value>::value, mul<n2, d1, !value>::value> date::detail::no_overflow< R1, R2 >::type

Definition at line 1191 of file date.h.

Member Data Documentation

◆ value

template<class R1 , class R2 >
const bool date::detail::no_overflow< R1, R2 >::value = (n1 <= max / d2) && (n2 <= max / d1)
static

Definition at line 1189 of file date.h.


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