Skip to content
Commit 901e717f authored by Douglas Gregor's avatar Douglas Gregor
Browse files

A constructor template cannot be used to copy to an object of the same class...

A constructor template cannot be used to copy to an object of the same class type (per C++ [class.copy]p3). Make sure that includes copies that involve a derived-to-base conversion. Fixes PR6141.

llvm-svn: 96742
parent 00eace19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment