Query module AV Rule 77.1

name
Constructor with default arguments will be used as a copy constructor
description
Constructors with default arguments should not be signature-compatible with a copy constructor when their default arguments are taken into account.
kind
problem
problem.severity
error
precision
high
id
cpp/constructor-used-as-copy-constructor
tags
reliability readability language-features external/jsf

Imports

cpp

Provides classes and predicates for working with C/C++/ObjC/ObjC++ code.