ReactOS 0.4.16-dev-287-g2d3f3a1
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: types.h:117
int CurrentObjectNumber
Definition: ehthrow.cxx:21
#define printf
Definition: freeldr.h:97
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
#define alloc
Definition: rosglue.h:13

◆ 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 }

◆ 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:54
#define NO_DTOR_THROW
Definition: ehthrow.cxx:17
static CRYPT_DATA_BLOB b2[]
Definition: msg.c:582
static CRYPT_DATA_BLOB b1[]
Definition: msg.c:573

◆ ~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 };
void dealloc(int i, int no_throw)
Definition: ehthrow.cxx:33
#define NO_CTOR_THROW
Definition: ehthrow.cxx:16

◆ 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 }

◆ 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 }

◆ ~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 };

◆ A() [7/15]

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

Definition at line 10 of file nesttry.cxx.

10{printf("In A()\n");}

◆ ~A() [3/7]

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

Definition at line 11 of file nesttry.cxx.

11{printf("In ~A()\n");}

◆ 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--; }

◆ 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); }
#define c
Definition: ke_i.h:80

◆ 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); }

◆ ~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; }
#define d
Definition: ke_i.h:81

◆ 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); }

◆ 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); }

◆ ~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; }

◆ 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); }

◆ 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); }

◆ ~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; }

◆ 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 }
Definition: ehthrow.cxx:93
#define _STLP_MUTABLE(type, x)
Definition: features.h:634
GLdouble n
Definition: glext.h:7729

Referenced by BindTest::bind_memfn().

◆ operator+() [1/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}
#define A(row, col)
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

◆ operator+() [2/2]

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

◆ v()

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

Definition at line 132 of file bind_test.cpp.

133 { return m_n; }

Member Data Documentation

◆ i

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

Definition at line 95 of file ehthrow.cxx.

◆ m_n

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

Definition at line 136 of file bind_test.cpp.

Referenced by A< T1 >::A(), A< T1 >::f(), and A< T1 >::v().


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