기술 성공, 실패 기록소

ConstPtr& 본문

프로그래밍언어/C++

ConstPtr&

sunlab 2021. 10. 27. 13:38
728x90

https://answers.ros.org/question/212857/what-is-constptr/

 

What is ConstPtr&? - ROS Answers: Open Source Q&A Forum

When messages are automatically generated into C++ code, there are several typedefs defined. One of them is ::Ptr, which is typedef-ed to be a boost::shared_ptr , and another is ::ConstPtr which is boost::shared_ptr . By passing a const pointer into the ca

answers.ros.org

"shared pointer to a constant message"

'프로그래밍언어 > C++' 카테고리의 다른 글

Using OpenCV with gcc and CMake  (0) 2021.11.02
const &  (0) 2021.10.27
Eigen library  (0) 2021.08.26
C++ 헤더파일 cpp파일로 왜 나눌까? 강의 강좌 프로그래밍 10강  (0) 2021.05.28
참조자를 리턴하는 함수  (0) 2020.11.12