namespace MN{
template<class _Kn> inline const _Kn& max(const _Kn& _M, const _Kn& _N)
{return (_M < _N ? _N : _M); }
}
The above code compiles fine when I have the APP_STL := stlport_shared but when I set APP_STL := gnustl_shared , it fails with the below message.
error: expected ',' or '...' before numeric constant at line 2 In function 'const _Kn& MN::max(const _Kn&)':error: '_N' was not declared in this scope.
Not a c++ geek , please help