forked from boostorg/typeof
Fixed issues with support for compilers without SFINAE
[SVN r35017]
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user