]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | .. Data Types/Miscellaneous//empty_base |20 |
2 | ||
3 | empty_base | |
4 | ========== | |
5 | ||
6 | Synopsis | |
7 | -------- | |
8 | ||
9 | .. parsed-literal:: | |
10 | ||
11 | struct empty_base {}; | |
12 | ||
13 | ||
14 | Description | |
15 | ----------- | |
16 | ||
17 | An empty base class. Inheritance from |empty_base| through the |inherit| | |
18 | metafunction is a no-op. | |
19 | ||
20 | ||
21 | Header | |
22 | ------ | |
23 | ||
24 | .. parsed-literal:: | |
25 | ||
26 | #include <boost/mpl/empty_base.hpp> | |
27 | ||
28 | ||
29 | See also | |
30 | -------- | |
31 | ||
32 | |Data Types|, |inherit|, |inherit_linearly|, |void_| | |
33 | ||
34 | ||
35 |