Opened 5 years ago
#133 new enhancement
Better signature for copy constructors.
Reported by: | Thierry Delisle | Owned by: | |
---|---|---|---|
Priority: | major | Component: | cfa-cc |
Version: | 1.0 | Keywords: | |
Cc: |
Description
Copy constructors now have a weird C copy as a parameter. This is due to historical reasons and should use const reference instead.
I.e. this:
void ?{} (int&, const int&); int& ?=? (int&, const int&);
Instead of
void ?{} (int&, int); int& ?=? (int&, int);
Note: See
TracTickets for help on using
tickets.