fixed compile errors on various platforms

[SVN r44104]
This commit is contained in:
Emil Dotchevski
2008-04-07 19:00:45 +00:00
parent e961744baf
commit e0881a603d
3 changed files with 5 additions and 3 deletions

View File

@ -9,6 +9,7 @@
#include <boost/exception/enable_exception_cloning.hpp> #include <boost/exception/enable_exception_cloning.hpp>
#include <boost/exception/exception.hpp> #include <boost/exception/exception.hpp>
#include <boost/exception/detail/cloning_base.hpp> #include <boost/exception/detail/cloning_base.hpp>
#include <exception>
namespace namespace
boost boost

View File

@ -23,7 +23,7 @@ boost
error_info<Tag1,T1>, error_info<Tag1,T1>,
error_info<Tag2,T2> > const & v ) error_info<Tag2,T2> > const & v )
{ {
return x << v.get<0>() << v.get<1>(); return x << v.template get<0>() << v.template get<1>();
} }
template < template <
@ -39,7 +39,7 @@ boost
error_info<Tag2,T2>, error_info<Tag2,T2>,
error_info<Tag3,T3> > const & v ) error_info<Tag3,T3> > const & v )
{ {
return x << v.get<0>() << v.get<1>() << v.get<2>(); return x << v.template get<0>() << v.template get<1>() << v.template get<2>();
} }
template < template <
@ -57,7 +57,7 @@ boost
error_info<Tag3,T3>, error_info<Tag3,T3>,
error_info<Tag4,T4> > const & v ) error_info<Tag4,T4> > const & v )
{ {
return x << v.get<0>() << v.get<1>() << v.get<2>() << v.get<3>(); return x << v.template get<0>() << v.template get<1>() << v.template get<2>() << v.template get<3>();
} }
} }

View File

@ -8,6 +8,7 @@
#include <boost/exception/to_string.hpp> #include <boost/exception/to_string.hpp>
#include <iomanip> #include <iomanip>
#include <typeinfo>
namespace namespace
boost boost