STLdoc
STLdocumentation
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
VS2017
inc
xsmf_control.h
Go to the documentation of this file.
1
// xsmf_control.h internal header
2
// Copyright (c) Microsoft Corporation. All rights reserved.
3
#pragma once
4
#ifndef _XSMF_CONTROL_H
5
#define _XSMF_CONTROL_H
6
#ifndef RC_INVOKED
7
#include <
yvals.h
>
8
9
#pragma pack(push,_CRT_PACKING)
10
#pragma warning(push,_STL_WARNING_LEVEL)
11
#pragma warning(disable: _STL_DISABLED_WARNINGS)
12
#pragma push_macro("new")
13
#undef new
14
15
_STD_BEGIN
16
17
// CLASS TEMPLATE _SMF_control_copy
18
template
<
bool
_Enable>
19
struct
_SMF_control_copy
20
{
// default all special member functions
21
};
22
23
template
<>
24
struct
_SMF_control_copy
<
false
>
25
{
// delete copy constructor
26
_SMF_control_copy
() =
default
;
27
_SMF_control_copy
(
const
_SMF_control_copy
&) =
delete
;
28
_SMF_control_copy
(
_SMF_control_copy
&&) =
default
;
29
_SMF_control_copy
&
operator=
(
const
_SMF_control_copy
&) =
default
;
30
_SMF_control_copy
&
operator=
(
_SMF_control_copy
&&) =
default
;
31
};
32
33
// CLASS TEMPLATE _SMF_control_move
34
template
<
bool
_Enable>
35
struct
_SMF_control_move
36
{
// default all special member functions
37
};
38
39
template
<>
40
struct
_SMF_control_move
<
false
>
41
{
// delete move constructor
42
_SMF_control_move
() =
default
;
43
_SMF_control_move
(
const
_SMF_control_move
&) =
default
;
44
_SMF_control_move
(
_SMF_control_move
&&) =
delete
;
45
_SMF_control_move
&
operator=
(
const
_SMF_control_move
&) =
default
;
46
_SMF_control_move
&
operator=
(
_SMF_control_move
&&) =
default
;
47
};
48
49
// CLASS TEMPLATE _SMF_control_copy_assign
50
template
<
bool
_Enable>
51
struct
_SMF_control_copy_assign
52
{
// default all special member functions
53
};
54
55
template
<>
56
struct
_SMF_control_copy_assign
<
false
>
57
{
// delete copy assignment
58
_SMF_control_copy_assign
() =
default
;
59
_SMF_control_copy_assign
(
const
_SMF_control_copy_assign
&) =
default
;
60
_SMF_control_copy_assign
(
_SMF_control_copy_assign
&&) =
default
;
61
_SMF_control_copy_assign
&
operator=
(
const
_SMF_control_copy_assign
&) =
delete
;
62
_SMF_control_copy_assign
&
operator=
(
_SMF_control_copy_assign
&&) =
default
;
63
};
64
65
// CLASS TEMPLATE _SMF_control_move_assign
66
template
<
bool
_Enable>
67
struct
_SMF_control_move_assign
68
{
// default all special member functions
69
};
70
71
template
<>
72
struct
_SMF_control_move_assign
<
false
>
73
{
// delete move assignment
74
_SMF_control_move_assign
() =
default
;
75
_SMF_control_move_assign
(
const
_SMF_control_move_assign
&) =
default
;
76
_SMF_control_move_assign
(
_SMF_control_move_assign
&&) =
default
;
77
_SMF_control_move_assign
&
operator=
(
const
_SMF_control_move_assign
&) =
default
;
78
_SMF_control_move_assign
&
operator=
(
_SMF_control_move_assign
&&) =
delete
;
79
};
80
81
_STD_END
82
83
#pragma pop_macro("new")
84
#pragma warning(pop)
85
#pragma pack(pop)
86
87
#endif
/* RC_INVOKED */
88
#endif
/* _XSMF_CONTROL_H */
operator=
_Variant_copymove_layer_ & operator=(_Variant_copymove_layer_ &&_That) _NOEXCEPT_OP((conjunction< is_nothrow_move_constructible< _Types >...
_STD_BEGIN
#define _STD_BEGIN
Definition:
yvals.h:553
_SMF_control_move
Definition:
xsmf_control.h:35
yvals.h
_SMF_control_copy
Definition:
xsmf_control.h:19
false
#define false
Definition:
stdbool.h:16
_SMF_control_move_assign
Definition:
xsmf_control.h:67
_STD_END
#define _STD_END
Definition:
yvals.h:554
_SMF_control_copy_assign
Definition:
xsmf_control.h:51
Generated on Sat Jul 22 2017 14:35:31 for STLdoc by
1.8.8