單項選擇題

已知一個類模板A的定義如下

下面四個選項中,哪個能夠正確地定義其模板類的對象()

A.A<double, int> a1;
B.A<double, 100> a2;
C.A<int, int> a3;
D.A<int> a4;

微信掃碼免費搜題