From e0881a603d1b8e586939505fef92994d784cde02 Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Mon, 7 Apr 2008 19:00:45 +0000 Subject: [PATCH] fixed compile errors on various platforms [SVN r44104] --- include/boost/exception/cloning.hpp | 1 + include/boost/exception/info_tuple.hpp | 6 +++--- include/boost/exception/to_string_stub.hpp | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/include/boost/exception/cloning.hpp b/include/boost/exception/cloning.hpp index 7e18892..d45cc52 100644 --- a/include/boost/exception/cloning.hpp +++ b/include/boost/exception/cloning.hpp @@ -9,6 +9,7 @@ #include #include #include +#include namespace boost diff --git a/include/boost/exception/info_tuple.hpp b/include/boost/exception/info_tuple.hpp index 8b0f5ea..becd210 100644 --- a/include/boost/exception/info_tuple.hpp +++ b/include/boost/exception/info_tuple.hpp @@ -23,7 +23,7 @@ boost error_info, error_info > const & v ) { - return x << v.get<0>() << v.get<1>(); + return x << v.template get<0>() << v.template get<1>(); } template < @@ -39,7 +39,7 @@ boost error_info, error_info > 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 < @@ -57,7 +57,7 @@ boost error_info, error_info > 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>(); } } diff --git a/include/boost/exception/to_string_stub.hpp b/include/boost/exception/to_string_stub.hpp index 45ac98e..4b6492b 100644 --- a/include/boost/exception/to_string_stub.hpp +++ b/include/boost/exception/to_string_stub.hpp @@ -8,6 +8,7 @@ #include #include +#include namespace boost