We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9dc606 commit f68acadCopy full SHA for f68acad
source/source_lcao/module_hcontainer/hcontainer.h
@@ -154,7 +154,10 @@ class HContainer
154
* data of HR_in will not be copied, please call add() after this constructor to copy data.
155
*/
156
HContainer(const HContainer<T>& HR_in, T* data_array = nullptr);
157
-
+
158
+ // copy assignment, not allowed
159
+ HContainer& operator=(const HContainer<T>& HR_in) = delete;
160
161
// move constructor
162
HContainer(HContainer<T>&& HR_in) noexcept;
163
// move assignment
0 commit comments