Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64389 - sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple
From: bbartmanboost_at_[hidden]
Date: 2010-07-27 12:21:23


Author: bbartman
Date: 2010-07-27 12:21:22 EDT (Tue, 27 Jul 2010)
New Revision: 64389
URL: http://svn.boost.org/trac/boost/changeset/64389

Log:
fixing misspelled file name
Added:
   sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/element.hpp (contents, props changed)
   sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/get_free_function.hpp
      - copied unchanged from r64388, /sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/get_free_funciton.hpp
Removed:
   sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/get_free_funciton.hpp

Added: sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/element.hpp
==============================================================================
--- (empty file)
+++ sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/element.hpp 2010-07-27 12:21:22 EDT (Tue, 27 Jul 2010)
@@ -0,0 +1,28 @@
+// 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_BITFIELD_TUPLE_ELEMENT_HPP
+#define BOOST_BITFIELD_TUPLE_ELEMENT_HPP
+#include <boost/integer/bitfield_tuple/interface_metafunctions.hpp>
+#include <cstddef>
+
+namespace boost {
+namespace bitfields {
+
+
+template<std::size_t Index, typename BitfieldTuple>
+struct element {
+ typedef typename get_proxy_reference_type_by_index< BitfieldTuple, Index >::type type;
+};
+
+template<typename Name, typename BitfieldTuple>
+struct element_n {
+ typedef typename get_proxy_reference_type_by_name< BitfieldTuple, Name >::type type;
+};
+
+}} // end boost::bitfields
+
+#endif

Deleted: sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/get_free_funciton.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/get_free_funciton.hpp 2010-07-27 12:21:22 EDT (Tue, 27 Jul 2010)
+++ (empty file)
@@ -1,19 +0,0 @@
-// 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_BITFIELD_TUPLE_GET_FREE_FUNCTION_HPP
-#define BOOST_BITFIELD_TUPLE_GET_FREE_FUNCTION_HPP
-#include <cstddef>
-
-
-namespace boost {
-namespace bitfields {
-
-// template <std::size_t Index, typename BitfieldTuple>
-//
-}} // 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