logo       

CVS: boost/boost/serialization type_info_implementation.hpp, 1.14, 1.15 lev: msg#00746

Subject: CVS: boost/boost/serialization type_info_implementation.hpp, 1.14, 1.15 level.hpp, 1.9, 1.10
Update of /cvsroot/boost/boost/boost/serialization
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv5272

Modified Files:
        type_info_implementation.hpp level.hpp 
Log Message:
add full qualification to address some compiler complaint

Index: type_info_implementation.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/serialization/type_info_implementation.hpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- type_info_implementation.hpp        30 Apr 2006 23:58:59 -0000      1.14
+++ type_info_implementation.hpp        28 Sep 2006 16:59:51 -0000      1.15
@@ -29,8 +29,6 @@
 namespace boost {
 namespace serialization {
 
-struct basic_traits;
-
 // note that T and const T are folded into const T so that
 // there is only one table entry per type
 template<class T>
@@ -39,9 +37,11 @@
     struct traits_class_typeinfo_implementation {
       typedef BOOST_DEDUCED_TYPENAME U::type_info_implementation::type type;
     };
+    // note: at least one compiler complained w/o the full qualification
+    // on basic traits below
     typedef 
         BOOST_DEDUCED_TYPENAME mpl::eval_if<
-            is_base_and_derived<basic_traits, T>,
+            is_base_and_derived<boost::serialization::basic_traits, T>,
             traits_class_typeinfo_implementation<T>,
         //else
             mpl::identity<

Index: level.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/serialization/level.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- level.hpp   4 Feb 2006 21:21:08 -0000       1.9
+++ level.hpp   28 Sep 2006 16:59:51 -0000      1.10
@@ -29,9 +29,9 @@
 #include <boost/mpl/int.hpp>
 #include <boost/mpl/integral_c.hpp>
 #include <boost/mpl/integral_c_tag.hpp>
+#include <boost/mpl/aux_/nttp_decl.hpp>
 
 #include <boost/serialization/level_enum.hpp>
-//#include <boost/serialization/traits.hpp>
 
 namespace boost {
 namespace serialization {
@@ -47,9 +47,11 @@
     };
 
     typedef mpl::integral_c_tag tag;
+    // note: at least one compiler complained w/o the full qualification
+    // on basic traits below
     typedef
         BOOST_DEDUCED_TYPENAME mpl::eval_if<
-            is_base_and_derived<basic_traits, T>,
+            is_base_and_derived<boost::serialization::basic_traits, T>,
             traits_class_level<T>,
         //else
         BOOST_DEDUCED_TYPENAME mpl::eval_if<
@@ -87,7 +89,7 @@
 };
 
 
-template<class T, enum level_type L>
+template<class T, BOOST_MPL_AUX_NTTP_DECL(int, L) >
 inline bool operator>=(implementation_level<T> t, enum level_type l)
 {
     return t.value >= (int)l;


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe