#include <x::sipobj.H> class vipintvalue { public: int n; vipintvalue(int nValue) : n(nValue) {} }; typedef x::sipobj<vipintvalue> vip_t; vip_t vip(2);
The
x::sipobj
template class is a subset of
x::vipobj
that
exports only the read and write lock functionality.
Use this template class when callback handlers are not called for,
and to simply enforce a read/write lock-type design pattern.