I\'m trying to compile with g++ some code previously developed under Visual C++ 2008 Express Edition, and it looks like g++ won\'t let me call a template m
could you try with?
template int do_outer(T& val) { return val.get_inner().template get(); }
I don't have access to gcc atm, but I've had similar issues and adding the template keyword always solved them. And it works in VS too.