Call to implicitly deleted copy constructor in LLVM

C++11 rules for automatic generation of special members aren’t as simple as you posted them. The most important distinction is that in some cases, the member is implicitly declared, but defined as deleted. That’s what happens in your case. C++11, [class.copy]ยง11: A defaulted copy/move constructor for a class X is defined as deleted (8.4.3) if … Read more