diff options
Diffstat (limited to 'boost/foreach.hpp')
-rw-r--r-- | boost/foreach.hpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/boost/foreach.hpp b/boost/foreach.hpp index ac2e6134d..eb3a50b65 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 |