-
Key: CPP1115-9
-
Status: closed
-
Source: Remedy IT ( Johnny Willemsen)
-
Summary:
The V_factory should have deleted assignment/copy so add
private:
V_factory (const V_factory&) = delete;
V_factory (V_factory&&) = delete;
V_factory& operator =(const V_factory&) = delete;
V_factory& operator =(V_factory&&) = delete;In the text change
Each generated factory class has a protected virtual destructor, a protected default constructor.
to
Each generated factory class has a protected virtual destructor, a protected default constructor, deleted copy/move constructors, and deleted copy/move assignment operators -
Reported: CPP11 1.4 — Mon, 28 Sep 2020 14:49 GMT
-
Disposition: Resolved — CPP11 1.5
-
Disposition Summary:
Add deleted special member functions to type-specific value factories
Use the "= delete" feature of C++11.
-
Updated: Mon, 29 Mar 2021 12:21 GMT
CPP1115 — Example V_factory should list deleted assignment/copy
- Key: CPP1115-9
- OMG Task Force: IDL to C++11 1.5 RTF