By switching the access level from private to public, programmers will be informed that the operation has been deleted
instead of simply being denied access.
This implements the modernize-use-equals-delete clang-tidy check.
-"Deleted member function should be public"
By switching the access level from private to public, programmers will be informed that the operation has been deleted instead of simply being denied access. This implements the modernize-use-equals-delete clang-tidy check. -"Deleted member function should be public"