Clearing ::std::vector<float>
Hi Gurus,
A real quickie here...
In the given context below, is calling the member function clear enough to clear ::std::vector<float> such that calling size() returns zero?
Code:
bool c_ieee488_LeCroy_Waverunner_LT264::Waveform(const int ch, ::std::vector<float>& data) const
{
// Clear the result data vector.
data.clear();
// Build the command string.
// Go on to call resize() and collect the acquired data in the vector.
Thanks ::pow(10.0, 6.0);
(That means thanks a million)
You're gonna go blind staring into that box all day.