template-function

Are C++ template-functions threadsafe?

Googling don't find anything. Are they created at point of use, or are the generic parts shared between instances? (Same for template classes?) ...