|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63774 - in sandbox/SOC/2010/bits_and_ints/boost/integer: . detail
From: muriloufg_at_[hidden]
Date: 2010-07-09 00:52:49
Author: murilov
Date: 2010-07-09 00:52:48 EDT (Fri, 09 Jul 2010)
New Revision: 63774
URL: http://svn.boost.org/trac/boost/changeset/63774
Log:
Added missed file
Added:
sandbox/SOC/2010/bits_and_ints/boost/integer/detail/pop_count.hpp (contents, props changed)
Text files modified:
sandbox/SOC/2010/bits_and_ints/boost/integer/is_integral_constant.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Added: sandbox/SOC/2010/bits_and_ints/boost/integer/detail/pop_count.hpp
==============================================================================
--- (empty file)
+++ sandbox/SOC/2010/bits_and_ints/boost/integer/detail/pop_count.hpp 2010-07-09 00:52:48 EDT (Fri, 09 Jul 2010)
@@ -0,0 +1,26 @@
+// Boost integer/detail/pop_count.hpp header file ------------------------------//
+
+// (C) Copyright Murilo Adriano Vasconcelos 2010.
+// Distributed under 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
+
+// See http://www.boost.org for updates, documentation, and revision history.
+
+#ifndef BOOST_DETAIL_POPCOUNT_INCLUDED
+#define BOOST_DETAIL_POPCOUNT_INCLUDED
+
+namespace boost { namespace integer_detail {
+
+static const uintmax_t pop_count_mask[6] = {
+#ifndef BOOST_NO_INT64_T
+ 0x5555555555555555, 0x3333333333333333, 0x0F0F0F0F0F0F0F0F,
+ 0x00FF00FF00FF00FF, 0x0000FFFF0000FFFF, 0x00000000FFFFFFFF
+#else
+ 0x55555555, 0x33333333, 0x0F0F0F0F, 0x00FF00FF, 0x0000FFFF, 0x0
+#endif
+};
+
+} }
+
+#endif
\ No newline at end of file
Modified: sandbox/SOC/2010/bits_and_ints/boost/integer/is_integral_constant.hpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/boost/integer/is_integral_constant.hpp (original)
+++ sandbox/SOC/2010/bits_and_ints/boost/integer/is_integral_constant.hpp 2010-07-09 00:52:48 EDT (Fri, 09 Jul 2010)
@@ -35,7 +35,7 @@
struct is_integral_constant : and_<
and_< has_tag<IC>, is_same<typename IC::tag, integral_c_tag> >,
and_< has_value_type<IC>, is_integral<typename IC::value_type> >,
- has_value<IC>,
+ //has_value<IC>,
has_type<IC>,
true_
>
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