x.cpp: In function `int main(int, char**)':
x.cpp:25: error: no matching function for call to `MyArray<int>::MyArray(MyArray<int>)'
x.cpp:6: note: candidates are: MyArray<T>::MyArray(MyArray<T>&) [with T = int]
x.cpp:26: error: no matching function for call to `MyArray<int>::MyArray(MyArray<int>)'
x.cpp:6: note: candidates are: MyArray<T>::MyArray(MyArray<T>&) [with T = int]
x.cpp:28: error: no matching function for call to `MyData::MyData(const MyArray<int>&, const MyArray<int>&)'
x.cpp:12: note: candidates are: MyData::MyData(const MyData&)
x.cpp:14: note: MyData::MyData(MyArray<int>&, MyArray<int>&)
该信息来源于VCer.net在线编译器,点击http://code.vcer.net/1219235575308.cpp查看源文件及编译信息。