I have a c++11 code which has a function like the following:
bool prepareSwitch(const std::list<hardware_interface::ControllerInfo>& start_list,
const std::list<hardware_interface::ControllerInfo>& stop_list)
for debugging this code, I'd like to investigate/print for example the start_list
, however, having a quite basic experience in c++ has made this confusing for me. Yet, the additional information that I can have about this input argument is about <hardware_interface::ControllerInfo>
the described in this documentation.
I'm not sure how to use this information to print or investigate this input. Can someone guide a little about it?
using std::cout << start_list << std::endl;
gave a compilation error.
Aucun commentaire:
Enregistrer un commentaire