i use a singleton template class, but the ’getInstance()" method is no list in the generated js, how to use it? my class is like below:
class PaPicker : public PaSingletonObject< PaPicker >
{
public:
virtual ~PaPicker();
protected:
PaPicker();
friend class PaSingletonObject< PaPicker >;
};
the PaSingletonObject template has the “getInstance” method.
thanks.