\(\newcommand{\W}[1]{ \; #1 \; }\) \(\newcommand{\R}[1]{ {\rm #1} }\) \(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} }\) \(\newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} }\) \(\newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} }\) \(\newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }\)
base_member¶
View page sourceRequired Base Class Member Functions¶
Notation¶
Symbol |
Meaning |
Base |
The base type corresponding to |
b |
An object of type |
i |
An object of type |
s |
An object of type |
d |
An object of type |
x |
An object of type |
y |
An object of type |
z |
An object of type Base |
Constructors¶
Default¶
Base z
int¶
Base z ( i )
size_t¶
Base z ( s )
double¶
Base z ( d )
Copy¶
Base z ( x )
Unary Operators¶
For op
equal to
+
,
-
the following operation must be supported:
z = op x
Assignment Operators¶
For op equal to
= ,
+=
,
-=
,
*=
, and
/=
the following operation must be supported:
z op x
Binary Operators¶
For op equal to
+
,
-
,
*
, and
/
the following operation must be supported:
z = x op y
Bool Operators¶
For op equal to
==
,
!=
,
the following operation must be supported:
b = x op y
Example¶
See the heading Class Definition in base_alloc .