diff options
Diffstat (limited to 'boost/date_time/time_duration.hpp')
-rw-r--r-- | boost/date_time/time_duration.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/boost/date_time/time_duration.hpp b/boost/date_time/time_duration.hpp index 92a0e2d59a..58768bcd2d 100644 --- a/boost/date_time/time_duration.hpp +++ b/boost/date_time/time_duration.hpp @@ -42,6 +42,8 @@ namespace date_time { * either (haven't tried) */ { public: + // A tag for type categorization. Can be used to detect Boost.DateTime duration types in generic code. + typedef void _is_boost_date_time_duration; typedef T duration_type; //the subclass typedef rep_type traits_type; typedef typename rep_type::day_type day_type; |