Emitter: define template specialization in cpp file