Lumiera  0.pre.03
»edit your freedom«
Policy< TI, SRC, typename disable_if< canMutateDuration< SRC >, Duration >::type > Struct Template Reference

#include "lib/time/control-policy.hpp"

Description

template<class TI, class SRC>
struct lib::time::mutation::Policy< TI, SRC, typename disable_if< canMutateDuration< SRC >, Duration >::type >

special case: a Duration target value can't be changed by plain time values.

This specialisation is not used (disable_if ) when the given change (SRC) is applicable to a Duration in a sensible way. We either define explicit specialisations (for TimeSpan) or fall back to the default in these cases.

Definition at line 332 of file control-policy.hpp.

Static Public Member Functions

static function< TI(SRC const &)> buildChangeHandler (Duration &target)
 
+ Collaboration diagram for Policy< TI, SRC, typename disable_if< canMutateDuration< SRC >, Duration >::type >:

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