You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cpp/patterns.cpp
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ void associations_demo()
100
100
p.ptr = nullptr;
101
101
}
102
102
103
-
/// @brief is a sample of setter abstract interface for Synchronised_encapsulated_value
103
+
/// @brief is a sample of setter abstract interface for Synchronized_encapsulated_value
104
104
template <typename ValueType>
105
105
structSetter_interface {
106
106
virtualvoidset(ValueType i) = 0;
@@ -109,22 +109,22 @@ struct Setter_interface {
109
109
110
110
template <typename ValueType>
111
111
structGetter_interface
112
-
/// @brief is a sample of getter abstract interface for Synchronised_encapsulated_value
112
+
/// @brief is a sample of getter abstract interface for Synchronized_encapsulated_value
113
113
{
114
114
virtual ValueType get() const = 0;
115
115
virtual~Getter_interface() = default;
116
116
};
117
117
118
118
template <typename ValueType>
119
119
structChange_interface
120
-
/// @brief is a sample of changer abstract interface for Synchronised_encapsulated_value
120
+
/// @brief is a sample of changer abstract interface for Synchronized_encapsulated_value
121
121
{
122
122
virtualvoidchange(ValueType c) = 0;
123
123
virtual~Change_interface() = default;
124
124
};
125
125
126
126
template <typename ValueType>
127
-
classSynchronised_encapsulated_value
127
+
classSynchronized_encapsulated_value
128
128
/**
129
129
@brief [encapsulating](https://en.wikipedia.org/wiki/Encapsulation_(computer_programming)) class with only public accessor and [mutator](https://en.wikipedia.org/wiki/Mutator_method) intrfaces
130
130
@@ -155,18 +155,18 @@ class Synchronised_encapsulated_value
0 commit comments