Fixed issues with support for compilers without SFINAE

[SVN r35017]
This commit is contained in:
Peder Holt
2006-09-01 19:25:45 +00:00
parent 55ac93f947
commit 5bd010787a

View File

@ -24,7 +24,7 @@ namespace boost { namespace type_of {
namespace boost { namespace type_of {
# ifdef BOOST_NO_SFINAE
template<class T>
T& encode(const T&);
T& ensure_obj(const T&);
# else
template<typename T>
typename enable_if<is_function<T>, T&>::type