oss_src/fault/zmq/zmq_msg_vector.hpp
inline void clear() {
     for (size_t i = 0;i < msgs.size(); ++i) {
       zmq_msg_close(&msgs[i]);
     }
     msgs.clear();
     read_index = 0;
   }
/// clears the vector and frees all the messages.
/// Also resets the read index.
clears the vector and frees all the messages.
Also resets the read index.
clears the vector and frees all the messages . Also resets the read index .
inline void clear() {
     for (size_t i = 0;i < msgs.size(); ++i) {
       zmq_msg_close(&msgs[i]);
     }
     msgs.clear();
     read_index = 0;
   }
inline void clear ( ) { for ( size_t i = 0 ; i < msgs . size ( ) ; ++ i ) { zmq_msg_close ( & msgs [ i ] ) ; } msgs . clear ( ) ; read_index = 0 ; }
clears the vector and frees all the messages.
clears the vector and frees all the messages .