|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64090 - sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple
From: bbartmanboost_at_[hidden]
Date: 2010-07-17 09:05:27
Author: bbartman
Date: 2010-07-17 09:05:26 EDT (Sat, 17 Jul 2010)
New Revision: 64090
URL: http://svn.boost.org/trac/boost/changeset/64090
Log:
working on adding a pointer member to the bitfield_tuple
Text files modified:
sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/member.hpp | 5 +----
sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/pointer.hpp | 27 +++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 4 deletions(-)
Modified: sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/member.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/member.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/member.hpp 2010-07-17 09:05:26 EDT (Sat, 17 Jul 2010)
@@ -7,10 +7,7 @@
#ifndef BOOST_MEMBER_FIELD_HPP
#define BOOST_MEMBER_FIELD_HPP
#include <cstddef>
-#include <boost/type_traits.hpp>
-#include <boost/static_assert.hpp>
-#include <boost/mpl/size_t.hpp>
-#include <boost/integer/bit_width.hpp>
+
namespace boost {
Modified: sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/pointer.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/pointer.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/pointer.hpp 2010-07-17 09:05:26 EDT (Sat, 17 Jul 2010)
@@ -0,0 +1,27 @@
+// Copyright 2010 Brian Bartman.
+// 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)
+
+
+#ifndef BOOST_MEMBER_FIELD_HPP
+#define BOOST_MEMBER_FIELD_HPP
+#include <cstddef>
+
+
+
+namespace boost {
+namespace bitfields {
+
+/** The purpose of the member struct is to provide a simple way of passing
+ * parameters into a bitfield_tuple or bit_mask_tuple. The use of this is
+ * specifically to associate a group of parameters to gather within a type
+ * and make it easier for the data structure to figure out what to do with
+ * those parameter.
+ */
+template <typename ReturnType, typename Name, std::size_t FieldWidth = 2>
+struct pointer;
+
+}} // end boost::bitfields
+
+#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