About embedding attribute grammars as C++ templates