Namespaces
Variants

std:: undeclare_no_pointers

From cppreference.net
Memory management library
( exposition only* )
Allocators
Uninitialized memory algorithms
Constrained uninitialized memory algorithms
Memory resources
Uninitialized storage (until C++20)
( until C++20* )
( until C++20* )
( until C++20* )

Garbage collector support (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
undeclare_no_pointers
(C++11) (until C++23)
(C++11) (until C++23)
헤더 파일에 정의됨 <memory>
void undeclare_no_pointers ( char * p, std:: size_t n ) ;
(C++11부터)
(C++23에서 제거됨)

이전에 std:: declare_no_pointers ( ) 로 등록된 범위를 등록 해제합니다.

목차

매개변수

p - 이전에 std::declare_no_pointers 로 등록된 범위의 시작을 가리키는 포인터
n - 범위 내 바이트 수, 이전에 std::declare_no_pointers 와 함께 사용된 동일한 값

반환값

(없음)

예외

아무것도 던지지 않습니다.

참고 항목

(C++11) (removed in C++23)
메모리 영역에 추적 가능한 포인터가 포함되어 있지 않음을 선언합니다
(함수)