Used ignore pattern in printer as it works with gcc-4.9.

Used ignore pattern in printer instead of recursing template
function instantiation.