| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- 이분 탐색
- 최소 공통 조상
- PROJECT
- Prisma
- 비트마스킹
- Behavior Design Pattern
- 자바스크립트
- localstorage
- 비트필드를 이용한 dp
- Spin Lock
- trie
- Github
- 트라이
- map
- SCC
- 2-SAT
- Express.js
- 게임 서버 아키텍처
- JavaScript
- Delete
- 그래프 탐색
- Lock-free Stack
- Strongly Connected Component
- DP
- 강한 연결 요소
- R 그래프
- reference counting
- 벨만-포드
- Binary Lifting
- ccw 알고리즘
Archives
- Today
- Total
목록new (1)
dh_0e
New, Delete Operator다음과 같이 new와 delete도 operator로 재정의 가능operator로 흐름을 가로채서 로그를 찍거나 무언가를 할 수 있음class Knight {public: Knight() { cout 다음과 같이 전역으로 선언하면 Global 하게(모든 new, delete에) 적용돼서 위험할 수 있음아래와 같이 클래스에 넣어서 해당 클래스에만 적용되게끔 사용이 가능함class Knight {public: Knight() { cout Allocator.h / Allocator.cppAlloc(): 메모리 할당만 하고 생성자는 직접 호출해주지 않음Release(): 메모리 해제만 담당하고 소멸자는 직접 호출해주지 않음 Memory.h#pragma once#include..
C++/Game Server
2026. 3. 10. 12:26
