I can't compile your code in Android NDK, why? Look at this:
template<typename _N, typename T>
struct StateBinder
{
};
Throws error:
expected nested-name-specifier before numeric constant main.cpp line 5 C/C++ Problem
expected '>' before numeric constant main.cpp line 5 C/C++ Problem
But! This is working well:
template<typename N, typename T>
struct StateBinder
{
};
Difference? _ N changed to N (or to N_), why it happens?