다음을 통해 공유


pointer_traits::pointer_to 메서드

Static method that returns Ptr::pointer_to(obj), if that function exists. Otherwise, it is not possible to convert an arbitrary reference to an object of class Ptr. If Ptr is a raw pointer, this method returns addressof(obj).

static pointer pointer_to(element_type& obj);

요구 사항

헤더 <memory>

네임스페이스: std

참고 항목

참조

pointer_traits 구조체