template and const