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
|