Namespaces
Variants

std::experimental::pmr::monotonic_buffer_resource:: release

From cppreference.net
void release ( ) ;
(라이브러리 fundamentals TS)

할당된 모든 메모리를 해제하며, 필요한 경우 상류 메모리 리소스의 deallocate 함수를 호출합니다.

메모리는 일부 할당된 블록에 대해 deallocate 가 호출되지 않았더라도 상위 리소스로 다시 해제됩니다.

참고 항목

메모리 할당 해제
( std::experimental::pmr::memory_resource 의 public 멤버 함수)