- 491 名前:デフォルトの名無しさん mailto:sage [2016/03/01(火) 21:04:14.81 ID:s5WMaGjg.net]
- void hoge(T)(out T t) {...}
uint x; hoge(x); // コンパイル通る int[] arr; hoge(arr.length); // コンパイルエラー(Error: template hoge cannot deduce function from argument types !()(uint), candidates are:) arr.lengthでエラーが出るのはどういう理屈なんですか?
|

|