CPP2 thread sleep std::this_thread::sleep_for(std::chrono::seconds(3)); 2022. 10. 10. Rule of 3, 5 https://en.wikipedia.org/wiki/Rule_of_three_(C%2B%2B_programming) Rule of three (C++ programming) - Wikipedia The rule of three and rule of five are rules of thumb in C++ for the building of exception-safe code and for formalizing rules on resource management. The rules prescribe how the default members of a class should be used to achieve these goals systematical en.wikipedia.org Rule of 3 dest.. 2022. 3. 4. 이전 1 다음