Home | History | Annotate | Download | only in jni

Lines Matching defs:singleton

4 // singleton.C:26: warning: `class singleton' only defines private constructors and has no friends
7 // singleton::instance() is considered constructed although the ctor
10 class singleton {
12 static singleton& instance() {
13 static singleton s;
19 singleton() : initialized(1) {
23 singleton( const singleton& rhs );
24 void operator=( const singleton& rhs );
29 int singleton::counter;
35 return singleton::instance().check()-2;