|
13 | 13 | template <class GraphicsSurfaces>
|
14 | 14 | class basic_figure_items<GraphicsSurfaces>::close_figure {
|
15 | 15 | public:
|
16 |
| - using data_type = |
17 |
| - typename GraphicsSurfaces::paths::abs_new_figure_data_type; |
18 |
| - |
19 |
| - // \ref{\iotwod.closefigure.ctor}, construct: |
20 |
| - close_figure(); |
| 16 | + // construct: |
| 17 | + close_figure() = default; |
21 | 18 | close_figure(const close_figure& other) = default;
|
22 | 19 | close_figure(close_figure&& other) noexcept = default;
|
23 | 20 |
|
24 | 21 | // assign:
|
25 | 22 | close_figure& operator=(const close_figure& other) = default;
|
26 | 23 | close_figure& operator=(close_figure&& other) noexcept = default;
|
27 |
| - |
28 |
| - // \ref{\iotwod.closefigure.acc}, accessors: |
29 |
| - const data_type& data() const noexcept; |
30 |
| - data_type& data() noexcept; |
31 | 24 | };
|
| 25 | + |
| 26 | + // \ref{\iotwod.closefigure.eq}, equality operators: |
| 27 | + template <class GraphicsSurfaces> |
| 28 | + bool operator==( |
| 29 | + const typename basic_figure_items<GraphicsSurfaces>::close_figure& lhs, |
| 30 | + const typename basic_figure_items<GraphicsSurfaces>::close_figure& rhs) |
| 31 | + noexcept; |
| 32 | + template <class GraphicsSurfaces> |
| 33 | + bool operator!=( |
| 34 | + const typename basic_figure_items<GraphicsSurfaces>::close_figure& lhs, |
| 35 | + const typename basic_figure_items<GraphicsSurfaces>::close_figure& rhs) |
| 36 | + noexcept; |
32 | 37 | }
|
33 | 38 | \end{codeblock}
|
34 | 39 |
|
35 |
| -\rSec1 [\iotwod.closefigure.ctor] {Constructors}% |
36 |
| - |
37 |
| -\indexlibrary{\idxcode{close_figure}!constructor}% |
38 |
| -\begin{itemdecl} |
39 |
| -close_figure(); |
40 |
| -\end{itemdecl} |
41 |
| -\begin{itemdescr} |
42 |
| -\pnum |
43 |
| -\effects Constructs an object of type \tcode{close_figure}. |
44 |
| -\end{itemdescr} |
45 |
| - |
46 |
| -\rSec1 [\iotwod.closefigure.acc] {Accessors}% |
47 |
| - |
48 |
| -\indexlibrarymember{data}{close_figure}% |
49 |
| -\begin{itemdecl} |
50 |
| -const data_type& data() const noexcept; |
51 |
| -data_type& data() noexcept; |
52 |
| -\end{itemdecl} |
53 |
| -\begin{itemdescr} |
54 |
| -\pnum |
55 |
| -\returns A reference to the \tcode{close_figure} object's data object (See: \ref{\iotwod.closefigure.intro}). |
56 |
| -\end{itemdescr} |
57 |
| - |
58 | 40 | \rSec1 [\iotwod.closefigure.eq] {Equality operators}%
|
59 | 41 |
|
60 | 42 | \indexlibrarymember{operator==}{close_figure}%
|
|
0 commit comments