|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57331 - in sandbox/statistics/detail/traits: . boost boost/statistics boost/statistics/detail boost/statistics/detail/traits
From: erwann.rogard_at_[hidden]
Date: 2009-11-03 11:58:58
Author: e_r
Date: 2009-11-03 11:58:57 EST (Tue, 03 Nov 2009)
New Revision: 57331
URL: http://svn.boost.org/trac/boost/changeset/57331
Log:
a
Added:
sandbox/statistics/detail/traits/
sandbox/statistics/detail/traits/boost/
sandbox/statistics/detail/traits/boost/statistics/
sandbox/statistics/detail/traits/boost/statistics/detail/
sandbox/statistics/detail/traits/boost/statistics/detail/traits/
sandbox/statistics/detail/traits/boost/statistics/detail/traits/add_cref.hpp (contents, props changed)
sandbox/statistics/detail/traits/boost/statistics/detail/traits/remove_cvref.hpp (contents, props changed)
Added: sandbox/statistics/detail/traits/boost/statistics/detail/traits/add_cref.hpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/detail/traits/boost/statistics/detail/traits/add_cref.hpp 2009-11-03 11:58:57 EST (Tue, 03 Nov 2009)
@@ -0,0 +1,28 @@
+//////////////////////////////////////////////////////////////////////////////
+// detail::traits::add_cref.hpp //
+// //
+// (C) Copyright 2009 Erwann Rogard //
+// Use, modification and distribution are subject to the //
+// Boost Software License, Version 1.0. (See accompanying file //
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
+//////////////////////////////////////////////////////////////////////////////
+#ifndef BOOST_STATISTICS_DETAIL_TRAITS_ADD_CREF_HPP_ER_2009
+#define BOOST_STATISTICS_DETAIL_TRAITS_ADD_CREF_HPP_ER_2009
+#include <boost/type_traits.hpp>
+
+namespace boost{
+namespace statistics{
+namespace detail{
+namespace traits{
+
+ template<typename T>
+ struct add_cref : add_reference<
+ typename add_const<T>::type
+ >{};
+
+}// traits
+}// detail
+}// statistics
+}// boost
+
+#endif
Added: sandbox/statistics/detail/traits/boost/statistics/detail/traits/remove_cvref.hpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/detail/traits/boost/statistics/detail/traits/remove_cvref.hpp 2009-11-03 11:58:57 EST (Tue, 03 Nov 2009)
@@ -0,0 +1,28 @@
+//////////////////////////////////////////////////////////////////////////////
+// detail::traits::remove_cvref.hpp //
+// //
+// (C) Copyright 2009 Erwann Rogard //
+// Use, modification and distribution are subject to the //
+// Boost Software License, Version 1.0. (See accompanying file //
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
+//////////////////////////////////////////////////////////////////////////////
+#ifndef BOOST_STATISTICS_DETAIL_TRAITS_REMOVE_CVREF_HPP_ER_2009
+#define BOOST_STATISTICS_DETAIL_TRAITS_REMOVE_CVREF_HPP_ER_2009
+#include <boost/type_traits.hpp>
+
+namespace boost{
+namespace statistics{
+namespace detail{
+namespace traits{
+
+ template<typename T>
+ struct remove_cvref : remove_cv<
+ typename remove_reference<T>::type
+ >{};
+
+}// traits
+}// detail
+}// statistics
+}// boost
+
+#endif
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