Jonathan M Davis wrote:
AFAIK, you have to put them outside for this. The order of both function calls and import declarations matters inside of a function even though it doesn't matter outside. In general, nested functions are more limited (e.g. if they're templated, you can't instantiate them with differentarguments - you only get one instantation).
Thanks David! Should be mentioned somewhere though. Well, probably is, somewhere ... Peter
