this post was submitted on 18 Jun 2023
12 points (100.0% liked)

C++

1732 readers
1 users here now

The center for all discussion and news regarding C++.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 points 2 years ago (1 children)

That's how we would have to do non-copyable classes before C++11. Older code bases are still filled with unimplemented copy constructors and assignment operators with comments. If you were extra thorough they'd also be private. PC Lint hated both of those tactics.

[โ€“] AlmightySnoo 1 points 2 years ago* (last edited 2 years ago)

PC Lint

PC-Lint is an abomination that belongs in the depths of hell anyway, it struggles a lot with modern C++/TMP.