Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

Struct duration_traits_adapted

boost::date_time::duration_traits_adapted —


struct duration_traits_adapted {
// types
typedef long int_type;
typedef boost::date_time::int_adapter< long > impl_type;

// public static functions
int_type as_number(impl_type) ;


Struct for instantiating date_duration WITH special values functionality. Allows for transparent implementation of either date_duration<long> or date_duration<int_adapter<long> >

duration_traits_adapted public static functions

  1. int_type as_number(impl_type i) ;
Copyright 2001-2005 CrystalClear Software, Inc