【C++】template 統合スレ -- Part6
■ このスレッドは過去ログ倉庫に格納されています
0508デフォルトの名無しさん
2005/05/15(日) 21:51:51多分これ。
14.5.2.5
[Note: because the explicit template argument list follows the function template name,
and because conversion member function templates and constructor member function templates
are called without using a function name, there is no way to provide an explicit template argument list
for these function templates. ]
コンストラクタは関数名を持たないので、メンバテンプレートにされたコンストラクタおよび
変換メンバ関数テンプレートは明示的に実引数を与えられないって事っすね。
C++の不具合とも言えるので、次期C++規格ではfixして欲しいですな。
■ このスレッドは過去ログ倉庫に格納されています