initiatePool

이 메소드는 할당된 풀에 대한 "부기"를 초기화합니다.

가시성
Public
시그니처
int initiatePool(T * const newBlock, int numOfInstances);
매개변수
newBlock

할당할 기본 메모리 양입니다.

numOfInstances

풀에 수용할 수 있는 최대 인스턴스 수입니다.


피드백