template<typename T>__declspec(dllexport)void func(T t){....}

という関数をDLLにしたんですが、何故かリンクエラーになります。
何故なんですか?さっぱり分かりません。