add a customized cpp template