[Bug c++/71658] User-defined conversion operator from a wrapper class to the wrapped type does not compile.

2016-06-28 Thread ulrichmutze at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71658 --- Comment #3 from Ulrich Mutze --- (In reply to Martin Sebor from comment #1) > I believe the test case is invalid. > > In a call to an operator, operator overload resolution in [over.match.oper] > considers three sets of candidate functions:

[Bug c++/71658] User-defined conversion operator from a wrapper class to the wrapped type does not compile.

2016-06-28 Thread ulrichmutze at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71658 --- Comment #2 from Ulrich Mutze --- Created attachment 38780 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38780&action=edit This is a shortened version of the first attachment. It avoids a superfluous complication.

[Bug c++/71658] New: User-defined conversion operator from a wrapper class to the wrapped type does not compile.

2016-06-25 Thread ulrichmutze at gmx dot de
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ulrichmutze at gmx dot de Target Milestone: --- Created attachment 38769 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38769&action=edit This