actual/packages/node-libofx/OpenSP-1.5.2/include/IQueue.cxx

23 lines
346 B
C++
Raw Normal View History

2022-04-29 02:44:38 +00:00
// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#ifndef IQueue_DEF_INCLUDED
#define IQueue_DEF_INCLUDED 1
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
template<class T>
void IQueue<T>::clear()
{
while (!empty())
delete get();
}
#ifdef SP_NAMESPACE
}
#endif
#endif /* not IQueue_DEF_INCLUDED */