Tags
- Android/iOS Developer
- 우수한 프런트 개발자
- C++
- postman collection
- Front-end developer
- Unity
- postman session
- LSL_Script
- postman html parse
- 프런트엔드
- Interaction developer
- postman excel
- postman
- web developer
- 좋은 개발자
- PL/SQL
- postman collection variables
- MFC
- Android
- solidity
- oracle
- Java
- postman automations
- postman csv
- c#
- postman tests
- postman pre-request
- UI/UX Engineer
- emplace_back
- Intellij
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Archives
- Today
- Total
목록이동생성자 (1)
david's daily developer note
[C,C++] emplace_back
이 글에서는 STL의 컨테이너의 emplace_back() 함수를 알아보려 한다. 정확하게는 이동생성자가 선언된 클래스에서 복사생성자가 무시되는지를 확인해보려고 한다. emplace_back 함수와 push_back함수 호출로 이동/복사 생성자 동작을 확인해보자. (C++11, VS 2012). class test_copy { public: test_copy() {} test_copy(int n) {} ~test_copy() { cout 소멸 2 : 생성->이동생성->소멸 둘의 결과는 같다.복사생성자와 이동생성자의 호출이 분기되었고, 각 장점을 취하였지만, 여전히, 결과의 생성과 소멸의 수는 같다(인자로 넣은 무명클래스의 생성,소멸). STL컨테이너 함수는 가변인자 템플릿(Variadic Template..
[Develop] Native/C++ , C
2018. 5. 28. 17:14