Inheritance diagram for lestes::std::smart_int:

Public Member Functions | |
| bool | operator< (const smart_int &si) |
Static Public Member Functions | |
| static ptr< smart_int > | create (int i) |
Public Attributes | |
| int | value |
Definition at line 45 of file set.test.cc.
| bool lestes::std::smart_int::operator< | ( | const smart_int & | si | ) | [inline] |
Definition at line 47 of file set.test.cc.
References value.
00048 { 00049 return value < si.value; 00050 }
Definition at line 51 of file set.test.cc.
References value.
00052 { 00053 smart_int * result = new smart_int(); 00054 result->value = i; 00055 return result; 00056 }
1.5.1-20070107