Lines Matching refs:pint
31 bool CheckEquality(auto_ptr<int> pint, int val)
32 { return *pint == val; }
42 auto_ptr<int> pint(new int(1));
43 CPPUNIT_ASSERT( *pint == 1 );
44 *pint = 2;
45 CPPUNIT_ASSERT( *pint == 2 );
49 auto_ptr<int> pint(CreateAutoPtr(3));
50 CPPUNIT_ASSERT( *pint == 3 );
51 CPPUNIT_ASSERT( CheckEquality(pint, 3) );
55 auto_ptr<const int> pint(new int(2));
56 CPPUNIT_ASSERT( *pint == 2 );
59 auto_ptr<volatile int> pint(new int(2));
60 CPPUNIT_ASSERT( *pint == 2 );
63 auto_ptr<const volatile int> pint(new int(2));
64 CPPUNIT_ASSERT( *pint == 2 );