Online C++ Compiler
GCC3.3 inside! boost1.34 enabled!

http://vcer.net http://book.vcer.net

新建源文件 编辑该源文件 上一个源文件 下一个源文件

test.cpp (posted by dfd at 2008-08-20 20:32:57.0):

compiling messages:
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查看源文件及编译信息。