allocator<void> Class
입력할 수 있는 템플릿 클래스 할당자의 특수화 void,이 컨텍스트에서 의미가 형식을 정의 합니다.
template<>
class allocator<void> {
typedef void *pointer;
typedef const void *const_pointer;
typedef void value_type;
template<class Other>
struct rebind;
allocator( );
allocator(
const allocator<void>&
);
template<class Other>
allocator(
const allocator<Other>&
);
template<class Other>
allocator<void>& operator=(
const allocator<Other>&
);
};
설명
클래스 템플릿 클래스를 명시적으로 전문 할당자 형식에 대 한 void. 해당 생성자와 할당 연산자를 템플릿 클래스와 동일 하 게 동작 하지만 다음 형식만 정의 합니다.
요구 사항
헤더: <memory>
네임 스페이스: std