Update of /cvsroot/boost/boost/boost/bimap/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14557/detail

Modified Files:
        manage_additional_parameters.hpp manage_bimap_key.hpp 
Log Message:
added info support

Index: manage_additional_parameters.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/bimap/detail/manage_additional_parameters.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- manage_additional_parameters.hpp    31 May 2007 07:01:34 -0000      1.2
+++ manage_additional_parameters.hpp    4 Jun 2007 17:47:38 -0000       1.3
@@ -32,7 +32,7 @@
 namespace bimaps {
 
 template< class Type >
-struct info_hook
+struct with_info
 {
     typedef Type value_type;
 };
@@ -42,10 +42,10 @@
 /// \brief Metafunction to check if a given type is a data_hook specification.
 
 template< class Type >
-struct is_info_hook : ::boost::mpl::false_ {};
+struct is_with_info : ::boost::mpl::false_ {};
 
 template< class ValueType >
-struct is_info_hook< info_hook<ValueType> > : ::boost::mpl::true_ {};
+struct is_with_info< with_info<ValueType> > : ::boost::mpl::true_ {};
 
 /** \struct boost::bimaps::detail::manage_additional_parameters
 \brief Utility class to extract the additional parameters from the template 
parameters.
@@ -198,7 +198,7 @@
                 case_SNN, // (3)
                 BOOST_DEDUCED_TYPENAME mpl::if_
                 <
-                    is_info_hook<AP1>,
+                    is_with_info<AP1>,
                     case_HNN, // (5)
                     case_ANN  // (2)
 
@@ -210,11 +210,11 @@
                 ::boost::mpl::is_na<AP3>,
                 BOOST_DEDUCED_TYPENAME mpl::if_
                 <
-                    is_info_hook<AP1>,
+                    is_with_info<AP1>,
                     case_HAN, // (7)
                     BOOST_DEDUCED_TYPENAME mpl::if_
                     <
-                        is_info_hook<AP2>,
+                        is_with_info<AP2>,
                         case_SHN, // (6)
                         case_SAN  // (4)
 

Index: manage_bimap_key.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/bimap/detail/manage_bimap_key.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- manage_bimap_key.hpp        1 Jun 2007 03:31:00 -0000       1.3
+++ manage_bimap_key.hpp        4 Jun 2007 17:47:38 -0000       1.4
@@ -58,7 +58,7 @@
     // else
     // {
             // Default it to a set
-                       mpl::identity< set_of< Type > >
+            mpl::identity< set_of< Type > >
     // }
 
     >::type set_type;
@@ -66,7 +66,7 @@
     // Returns set_type and evaluate the concept_checked_type
 
     typedef BOOST_DEDUCED_TYPENAME mpl::if_c< true, set_type, 
-               BOOST_DEDUCED_TYPENAME set_type::lazy_concept_checked::type
+        BOOST_DEDUCED_TYPENAME set_type::lazy_concept_checked::type
     >::type type;
 };
 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to