#include#include int main() { yarp::sig::Vector v(3); std::cout << "Vector size: " << v.size() << std::endl; return 0; }
#includeThis example creates a yarp::sig::Vector with 4 elements and does something with it (which is not shown). It also initializes the YARP network using the yarp::os::Network class. Based on these examples, it appears that yarp.sig Vector size is part of the YARP package library.#include int main() { yarp::os::Network yarp; yarp::sig::Vector v(4); // Do something with the vector return 0; }