Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::date_time::duration_traits_adapted Struct Reference

Struct for instantiating date_duration WITH special values functionality. More...

#include <date_duration.hpp>

Public Types

typedef long int_type
 
typedef
boost::date_time::int_adapter
< long > 
impl_type
 

Static Public Member Functions

static int_type as_number (impl_type i)
 

Detailed Description

Struct for instantiating date_duration WITH special values functionality.

Allows for transparent implementation of either date_duration<long> or date_duration<int_adapter<long> >

Member Typedef Documentation

Member Function Documentation

static int_type boost::date_time::duration_traits_adapted::as_number ( impl_type  i)
inlinestatic

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