Original Post
In a header file, I have declared a few function templates that aid the primary function templates in the header. I would like to prevent other files from using these utility functions, as they do not belong in the public interface. Because function templates must be defined in a header, however, I am finding this difficult. Neither the static keyword nor anonymous namespaces seem to hide the function templates from use by other files. Is there any way to do this?