MRPT
1.9.9
|
Functions | |
template<typename src_container , typename dst_container > | |
void | mrpt::containers::copy_container_typecasting (const src_container &src, dst_container &trg) |
Copy all the elements in a container (vector, deque, list) into a different one performing the appropriate typecasting. More... | |
|
inline |
Copy all the elements in a container (vector, deque, list) into a different one performing the appropriate typecasting.
The target container is automatically resized to the appropriate size, and previous contents are lost. This can be used to assign std::vector's of different types:
Definition at line 29 of file copy_container_typecasting.h.
Referenced by mrpt::nav::CAbstractPTGBasedReactive::build_movement_candidate(), and TEST().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020 |