| Summary: | [c++] Failure to identify copy constructor | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Markus Schorn <mschorn.eclipse> |
| Component: | cdt-parser | Assignee: | Markus Schorn <mschorn.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | Markus Schorn <mschorn.eclipse> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug |
| Version: | 8.0 | ||
| Target Milestone: | 8.1.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Added testcase and fix. *** cdt git genie on behalf of Markus Schorn ***
Bug 360223: Detection of user-defined copy constructor.
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=b7224bd864daba451c0b87b2f4797eaff55583f0
|
In the following two examples we don't detect the user-defined copy-constructor and add the implicit one: template<typename T> struct C { C(const C<T>& c) {} }; struct D { typedef const D& TD; D(TD c) {} };