ReactOS  0.4.15-dev-1386-g5cb9f87
A< T1 > Class Template Reference
Collaboration diagram for A< T1 >:

Classes

struct  B
 

Public Member Functions

 A ()
 
 A (int)
 
A operator+ (A a)
 
 A (const A &a)
 
 ~A ()
 
 A ()
 
 A (int)
 
A operator+ (A a)
 
 A (const A &a)
 
 ~A () NOEXCEPT(false)
 
 A ()
 
 ~A ()
 
 A ()
 
 ~A ()
 
 __declspec (noreturn) A(const A &a)
 
 A ()
 
 A (const A &)
 
 ~A ()
 
 A ()
 
 A (const A &)
 
 ~A ()
 
 A ()
 
 A (const A &)
 
 ~A ()
 
 A ()
 
void f (int n) const
 
int v () const
 

Public Attributes

int i
 

Private Attributes

int m_n
 

Detailed Description

template<typename T1>
class A< T1 >

Definition at line 92 of file ehthrow.cxx.

Constructor & Destructor Documentation

◆ A() [1/15]

template<typename T1 >
A< T1 >::A ( )

Definition at line 123 of file ehthrow.cxx.

124 {
126  printf("A ctor. i = %d\n", i);
127  alloc(i, FALSE);
128 }
#define FALSE
Definition: ehthrow.cxx:14
int i
Definition: ehthrow.cxx:95
void alloc(int i, int no_throw)
Definition: ehthrow.cxx:42
int CurrentObjectNumber
Definition: ehthrow.cxx:21
#define printf
Definition: config.h:203

Referenced by A< T1 >::operator+().

◆ A() [2/15]

template<typename T1 >
A< T1 >::A ( int  )
inline

Definition at line 97 of file ehthrow.cxx.

98  {
100  printf("A(int) ctor. i = %d\n", i);
101  alloc(i, FALSE);
102  }
#define FALSE
Definition: ehthrow.cxx:14
int i
Definition: ehthrow.cxx:95
void alloc(int i, int no_throw)
Definition: ehthrow.cxx:42
int CurrentObjectNumber
Definition: ehthrow.cxx:21
#define printf
Definition: config.h:203

◆ A() [3/15]

template<typename T1 >
A< T1 >::A ( const A< T1 > &  a)
inline

Definition at line 104 of file ehthrow.cxx.

105  {
106  /* Try objects in ctor */
108 
110  printf("A copy ctor. i = %d\n", i);
111  alloc(i, FALSE);
112  }
Definition: ehthrow.cxx:53
#define NO_DTOR_THROW
Definition: ehthrow.cxx:17
#define FALSE
Definition: ehthrow.cxx:14
int i
Definition: ehthrow.cxx:95
static CRYPT_DATA_BLOB b1[]
Definition: msg.c:573
void alloc(int i, int no_throw)
Definition: ehthrow.cxx:42
static CRYPT_DATA_BLOB b2[]
Definition: msg.c:582
int CurrentObjectNumber
Definition: ehthrow.cxx:21
#define printf
Definition: config.h:203

◆ ~A() [1/7]

template<typename T1 >
A< T1 >::~A ( )
inline

Definition at line 114 of file ehthrow.cxx.

114  {
115  /* Try objects in dtor */
117 
118  printf("A dtor. i = %d\n", i);
119  dealloc(i, FALSE);
120  };
Definition: ehthrow.cxx:53
void dealloc(int i, int no_throw)
Definition: ehthrow.cxx:33
#define FALSE
Definition: ehthrow.cxx:14
int i
Definition: ehthrow.cxx:95
static CRYPT_DATA_BLOB b1[]
Definition: msg.c:573
static CRYPT_DATA_BLOB b2[]
Definition: msg.c:582
#define NO_CTOR_THROW
Definition: ehthrow.cxx:16
#define printf
Definition: config.h:203

◆ A() [4/15]

template<typename T1 >
A< T1 >::A ( )

◆ A() [5/15]

template<typename T1 >
A< T1 >::A ( int  )
inline

Definition at line 98 of file ihateeh.cxx.

98  {
100  printf("A(int) ctor. i = %d\n", i);
101  alloc(i, FALSE);
102  }
int i
Definition: ehthrow.cxx:95
#define FALSE
Definition: ihateeh.cxx:8
int CurrentObjectNumber
Definition: ihateeh.cxx:20
void alloc(int i, int no_throw)
Definition: ihateeh.cxx:44
#define printf
Definition: config.h:203

◆ A() [6/15]

template<typename T1 >
A< T1 >::A ( const A< T1 > &  a)
inline

Definition at line 104 of file ihateeh.cxx.

104  {
105  /* Try objects in ctor */
107 
109  printf("A copy ctor. i = %d\n", i);
110  alloc(i, FALSE);
111  }
Definition: ehthrow.cxx:53
int i
Definition: ehthrow.cxx:95
static CRYPT_DATA_BLOB b1[]
Definition: msg.c:573
#define NO_DTOR_THROW
Definition: ihateeh.cxx:11
#define FALSE
Definition: ihateeh.cxx:8
static CRYPT_DATA_BLOB b2[]
Definition: msg.c:582
int CurrentObjectNumber
Definition: ihateeh.cxx:20
void alloc(int i, int no_throw)
Definition: ihateeh.cxx:44
#define printf
Definition: config.h:203

◆ ~A() [2/7]

template<typename T1 >
A< T1 >::~A ( )
inline

Definition at line 113 of file ihateeh.cxx.

113  {
114  /* Try objects in dtor */
116 
117  printf("A dtor. i = %d\n", i);
118  dealloc(i, FALSE);
119  };
Definition: ehthrow.cxx:53
void dealloc(int i, int no_throw)
Definition: ihateeh.cxx:28
#define NO_CTOR_THROW
Definition: ihateeh.cxx:10
int i
Definition: ehthrow.cxx:95
static CRYPT_DATA_BLOB b1[]
Definition: msg.c:573
#define FALSE
Definition: ihateeh.cxx:8
static CRYPT_DATA_BLOB b2[]
Definition: msg.c:582
#define printf
Definition: config.h:203

◆ A() [7/15]

template<typename T1 >
A< T1 >::A ( )
inline

Definition at line 10 of file nesttry.cxx.

10 {printf("In A()\n");}
#define printf
Definition: config.h:203

◆ ~A() [3/7]

template<typename T1 >
A< T1 >::~A ( )
inline

Definition at line 11 of file nesttry.cxx.

11 {printf("In ~A()\n");}
#define printf
Definition: config.h:203

◆ A() [8/15]

template<typename T1 >
A< T1 >::A ( )
inline

Definition at line 12 of file noreturn.cpp.

12 { Count++; }
int Count
Definition: noreturn.cpp:7

◆ ~A() [4/7]

template<typename T1 >
A< T1 >::~A ( )
inline

Definition at line 13 of file noreturn.cpp.

13 { Count--; }
int Count
Definition: noreturn.cpp:7

◆ A() [9/15]

template<typename T1 >
A< T1 >::A ( )
inline

Definition at line 10 of file rethrow1.cpp.

10 { i = ++c; printf ("A() %d\n", i); }
int i
Definition: ehthrow.cxx:95
int c
Definition: rethrow1.cpp:6
#define printf
Definition: config.h:203

◆ A() [10/15]

template<typename T1 >
A< T1 >::A ( const A< T1 > &  )
inline

Definition at line 11 of file rethrow1.cpp.

11 { i = ++c; printf ("A(const A&) %d\n", i); }
int i
Definition: ehthrow.cxx:95
int c
Definition: rethrow1.cpp:6
#define printf
Definition: config.h:203

◆ ~A() [5/7]

template<typename T1 >
A< T1 >::~A ( )
inline

Definition at line 12 of file rethrow1.cpp.

12 { printf ("~A() %d\n", i); ++d; }
int i
Definition: ehthrow.cxx:95
int d
Definition: rethrow1.cpp:6
#define printf
Definition: config.h:203

◆ A() [11/15]

template<typename T1 >
A< T1 >::A ( )
inline

Definition at line 10 of file rethrow4.cpp.

10 { i = ++c; printf ("A() %d\n", i); }
int i
Definition: ehthrow.cxx:95
int c
Definition: rethrow4.cpp:6
#define printf
Definition: config.h:203

◆ A() [12/15]

template<typename T1 >
A< T1 >::A ( const A< T1 > &  )
inline

Definition at line 11 of file rethrow4.cpp.

11 { i = ++c; printf ("A(const A&) %d\n", i); }
int i
Definition: ehthrow.cxx:95
int c
Definition: rethrow4.cpp:6
#define printf
Definition: config.h:203

◆ ~A() [6/7]

template<typename T1 >
A< T1 >::~A ( )
inline

Definition at line 12 of file rethrow4.cpp.

12 { printf ("~A() %d\n", i); ++d; }
int d
Definition: rethrow4.cpp:6
int i
Definition: ehthrow.cxx:95
#define printf
Definition: config.h:203

◆ A() [13/15]

template<typename T1 >
A< T1 >::A ( )
inline

Definition at line 10 of file rethrow5.cpp.

10 { i = ++c; printf ("A() %d\n", i); }
int i
Definition: ehthrow.cxx:95
int c
Definition: rethrow5.cpp:6
#define printf
Definition: config.h:203

◆ A() [14/15]

template<typename T1 >
A< T1 >::A ( const A< T1 > &  )
inline

Definition at line 11 of file rethrow5.cpp.

11 { i = ++c; printf ("A(const A&) %d\n", i); }
int i
Definition: ehthrow.cxx:95
int c
Definition: rethrow5.cpp:6
#define printf
Definition: config.h:203

◆ ~A() [7/7]

template<typename T1 >
A< T1 >::~A ( )
inline

Definition at line 12 of file rethrow5.cpp.

12 { printf ("~A() %d\n", i); ++d; }
int d
Definition: rethrow5.cpp:6
int i
Definition: ehthrow.cxx:95
#define printf
Definition: config.h:203

◆ A() [15/15]

template<typename T1 >
A< T1 >::A ( )
inline

Definition at line 121 of file bind_test.cpp.

121  : m_n( 0 )
122  {}
int m_n
Definition: bind_test.cpp:136

Member Function Documentation

◆ __declspec()

template<typename T1 >
A< T1 >::__declspec ( noreturn  ) const &
inline

Definition at line 15 of file noreturn.cpp.

16  { throw 1; }

◆ f()

template<typename T1 >
void A< T1 >::f ( int  n) const
inline

Definition at line 124 of file bind_test.cpp.

124  {
125 #if defined (STLPORT)
126  _STLP_MUTABLE(A, m_n) = n;
127 #else
128  m_n = n;
129 #endif
130  }
GLdouble n
Definition: glext.h:7729
Definition: ehthrow.cxx:92
#define _STLP_MUTABLE(type, x)
Definition: features.h:634
int m_n
Definition: bind_test.cpp:136

Referenced by BindTest::bind_memfn(), and invert_matrix_general().

◆ operator+() [1/2]

template<typename T1 >
A A< T1 >::operator+ ( A< T1 >  a)

◆ operator+() [2/2]

template<typename T1 >
A A< T1 >::operator+ ( A< T1 >  a)

Definition at line 130 of file ehthrow.cxx.

131 {
132  printf("A%d + A%d\n", i, a.i);
133  return A();
134 }
A()
Definition: ehthrow.cxx:123
int i
Definition: ehthrow.cxx:95
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
#define printf
Definition: config.h:203

◆ v()

template<typename T1 >
int A< T1 >::v ( ) const
inline

Definition at line 132 of file bind_test.cpp.

133  { return m_n; }
int m_n
Definition: bind_test.cpp:136

Member Data Documentation

◆ i

template<typename T1 >
int A< T1 >::i

Definition at line 95 of file ehthrow.cxx.

Referenced by A< T1 >::A(), A< T1 >::operator+(), and A< T1 >::~A().

◆ m_n

template<typename T1 >
int A< T1 >::m_n
mutableprivate

Definition at line 136 of file bind_test.cpp.


The documentation for this class was generated from the following files: