qb
2.0.0.0
C++17 Actor Framework
|
Defines a base class to make derived classes non-copyable. More...
Go to the source code of this file.
Classes | |
struct | qb::nocopy |
Base class to make derived classes non-copyable. More... |
Defines a base class to make derived classes non-copyable.
This file provides a utility struct qb::nocopy that, when inherited from (typically privately), deletes the copy constructor and copy assignment operator of the derived class. This is a common C++ idiom to prevent objects of certain types from being copied, which is often desirable for classes managing unique resources or those whose identity is important.
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.