summaryrefslogtreecommitdiff
path: root/boost/foreach.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/foreach.hpp')
-rw-r--r--boost/foreach.hpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/boost/foreach.hpp b/boost/foreach.hpp
index ac2e6134d2..eb3a50b653 100644
--- a/boost/foreach.hpp
+++ b/boost/foreach.hpp
@@ -398,10 +398,16 @@ struct foreach_reference
// encode_type
//
template<typename T>
-inline type2type<T> *encode_type(T &, boost::mpl::false_ *) { return 0; }
+inline type2type<T> *encode_type(T &, boost::false_type*) { return 0; }
template<typename T>
-inline type2type<T, const_> *encode_type(T const &, boost::mpl::true_ *) { return 0; }
+inline type2type<T, const_> *encode_type(T const &, boost::true_type*) { return 0; }
+
+template<typename T>
+inline type2type<T> *encode_type(T &, boost::mpl::false_*) { return 0; }
+
+template<typename T>
+inline type2type<T, const_> *encode_type(T const &, boost::mpl::true_*) { return 0; }
///////////////////////////////////////////////////////////////////////////////
// set_false