MCPcopy Create free account
hub / github.com/EricPengShuai/Interview / Test

Class Test

base_code/template.cpp:300–309  ·  view source on GitHub ↗

测试类 */

Source from the content-addressed store, hash-verified

298
299/* 测试类 */
300class Test
301{
302public:
303 Test() { cout << "Test()\n"; }
304 Test(int a) { cout << "Test(int)\n"; }
305 Test(int a, int b) { cout << "Test(int, int)\n"; }
306 ~Test() { cout << "~Test()\n"; }
307 Test(const Test&) { cout << "Test(const Test&)\n"; }
308 Test(Test&&) { cout << "Test(Test&&)\n"; }
309};
310
311
312int main()

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected