C++ Logo

std-proposals

Advanced search

Re: = default { body... } on constructors and operator=

From: Giuseppe D'Angelo <giuseppe.dangelo_at_[hidden]>
Date: Wed, 24 Feb 2021 20:41:13 +0100
Il 24/02/21 17:19, Tony V E via Std-Proposals ha scritto:
> One problem with the templates (for mine at least) is that they aren't
> robustly written. They do just-enough. Mine, for example, has ++ but not --.

This sounds like a job for a class like Anthony Williams' strong_typedef
(although I'm not sure it supports customization of the move operations).

My 2 c,
-- 
Giuseppe D'Angelo | giuseppe.dangelo_at_[hidden] | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

Received on 2021-02-24 13:41:28