|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r68221 - trunk/libs/ratio/example
From: vicente.botet_at_[hidden]
Date: 2011-01-17 17:21:01
Author: viboes
Date: 2011-01-17 17:20:59 EST (Mon, 17 Jan 2011)
New Revision: 68221
URL: http://svn.boost.org/trac/boost/changeset/68221
Log:
Boost.Ratio: Cleanup #if 0
Text files modified:
trunk/libs/ratio/example/duration.hpp | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
Modified: trunk/libs/ratio/example/duration.hpp
==============================================================================
--- trunk/libs/ratio/example/duration.hpp (original)
+++ trunk/libs/ratio/example/duration.hpp 2011-01-17 17:20:59 EST (Mon, 17 Jan 2011)
@@ -770,31 +770,6 @@
return boost_ex::chrono::detail::duration_cast<duration<Rep, Period>, ToDuration>()(fd);
}
-
-//----------------------------------------------------------------------------//
-// duration constructor implementation //
-// See comment in the class duration synopsis //
-//----------------------------------------------------------------------------//
-
-#if 0
-#ifdef __GNUC__
- // see comment above in section 20.9.3 Class template duration [time.duration]
- template <class Rep, class Period>
- template <class Rep2, class Period2>
- duration<Rep, Period>::duration(const duration<Rep2, Period2>& d,
- typename boost::enable_if <
- boost::mpl::or_ <
- treat_as_floating_point<rep>,
- boost::mpl::and_ <
- boost::mpl::bool_ <boost::ratio_divide<Period2, period>::type::den == 1>,
- boost::mpl::not_ <treat_as_floating_point<Rep2> >
- >
- >
- >::type*)
- : rep_(duration_cast<duration>(d).count()) {}
-#endif
-#endif
-
}
}
#endif // BOOST_EX_CHRONO_DURATION_HPP
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk