Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template subsecond_duration

boost::date_time::subsecond_duration — Template for instantiating derived adjusting durations.

Synopsis

// In header: <boost/date_time/time_duration.hpp>

template<typename base_duration,  frac_of_second> 
class subsecond_duration : public  {
public:
  // types
  typedef    ;  
  typedef  ;

  // private member functions
   ((frac_of_second ? frac_of_second :frac_of_second %  = =, 
                           \ "The base  duration must  be  a  multiple the  subsecond  duration  resolution");
   (, adjustment_ratio = ();

  // public member functions
  template<typename T> 
    (T  const &, 
                                typename T >, void >:: = );
};

Description

subsecond_duration private member functions

  1.  ((frac_of_second ? frac_of_second :frac_of_second %  = =, 
                             \ "The base  duration must  be  a  multiple the  subsecond  duration  resolution");
  2.  (, adjustment_ratio = ();

subsecond_duration public member functions

  1. template<typename T> 
      (T  const & ss, 
                                  typename T >, void >:: = );

PrevUpHomeNext