Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57264 - in sandbox/itl: boost/itl_xt libs/itl/build/win32
From: afojgo_at_[hidden]
Date: 2009-10-31 18:40:56


Author: jofaber
Date: 2009-10-31 18:40:56 EDT (Sat, 31 Oct 2009)
New Revision: 57264
URL: http://svn.boost.org/trac/boost/changeset/57264

Log:
A forward declaration for bitcount::count
Text files modified:
   sandbox/itl/boost/itl_xt/bits.hpp | 22 +++++++++++++---------
   sandbox/itl/libs/itl/build/win32/vc9_all.sln | 6 ++++++
   2 files changed, 19 insertions(+), 9 deletions(-)

Modified: sandbox/itl/boost/itl_xt/bits.hpp
==============================================================================
--- sandbox/itl/boost/itl_xt/bits.hpp (original)
+++ sandbox/itl/boost/itl_xt/bits.hpp 2009-10-31 18:40:56 EDT (Sat, 31 Oct 2009)
@@ -23,6 +23,19 @@
 
 typedef short bit_range_type;
 
+namespace bitcount
+{
+ template<typename WordT, bit_range_type Digits>
+ struct count
+ {
+ typedef WordT word_type;
+ typedef count<word_type,Digits> type;
+
+ static bit_range_type apply(WordT value);
+ };
+}
+
+
 template<class NaturalT> class bits
         : equality_comparable < bits<NaturalT>
     , less_than_comparable < bits<NaturalT>
@@ -127,15 +140,6 @@
         3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7, 4, 5, 5, 6, 5, 6, 6, 7, 5, 6, 6, 7, 6, 7, 7, 8
 };
 
-template<typename WordT, bit_range_type Digits>
-struct count
-{
- typedef WordT word_type;
- typedef count<word_type,Digits> type;
-
- static bit_range_type apply(WordT value);
-};
-
 template<>
 struct count<nat8, 8>
 {

Modified: sandbox/itl/libs/itl/build/win32/vc9_all.sln
==============================================================================
--- sandbox/itl/libs/itl/build/win32/vc9_all.sln (original)
+++ sandbox/itl/libs/itl/build/win32/vc9_all.sln 2009-10-31 18:40:56 EDT (Sat, 31 Oct 2009)
@@ -145,6 +145,8 @@
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vc9_std_transform", "..\..\example\std_transform_\vc9_std_transform.vcproj", "{8DC9BDE4-E5A4-4294-A12F-D75FD6990B85}"
 EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vc9_labat_itv_bitset", "..\..\..\validate\example\labat_itv_bitset_\vc9_labat_itv_bitset.vcproj", "{BF42574F-66E2-42DD-90D9-3A8FCE6F472B}"
+EndProject
 Global
         GlobalSection(SolutionConfigurationPlatforms) = preSolution
                 Debug|Win32 = Debug|Win32
@@ -439,6 +441,10 @@
                 {8DC9BDE4-E5A4-4294-A12F-D75FD6990B85}.Debug|Win32.Build.0 = Debug|Win32
                 {8DC9BDE4-E5A4-4294-A12F-D75FD6990B85}.Release|Win32.ActiveCfg = Release|Win32
                 {8DC9BDE4-E5A4-4294-A12F-D75FD6990B85}.Release|Win32.Build.0 = Release|Win32
+ {BF42574F-66E2-42DD-90D9-3A8FCE6F472B}.Debug|Win32.ActiveCfg = Debug|Win32
+ {BF42574F-66E2-42DD-90D9-3A8FCE6F472B}.Debug|Win32.Build.0 = Debug|Win32
+ {BF42574F-66E2-42DD-90D9-3A8FCE6F472B}.Release|Win32.ActiveCfg = Release|Win32
+ {BF42574F-66E2-42DD-90D9-3A8FCE6F472B}.Release|Win32.Build.0 = Release|Win32
         EndGlobalSection
         GlobalSection(SolutionProperties) = preSolution
                 HideSolutionNode = FALSE


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