<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Feb 11, 2015 at 5:59 AM, René J.V. <span dir="ltr"><<a href="mailto:rjvbertin@gmail.com" target="_blank">rjvbertin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The build halts with an error that neither he nor I can make sense of - how can a ctor be deleted?</blockquote></div><br>As I understand it, there are some implicit default constructors that are normally present --- but if you declare certain (any?) constructors of your own, the default constructors are not generated. If you don't explicitly create those constructors yourself and then do something that uses the constructor (often a copy constructor used implicitly), you get that somewhat peculiar error from clang. g++ reports it differently (IIRC just as a missing constructor, which is confusing in a different way if you're not aware of when C++ implicitly creates some constructors).<br clear="all"><div><br></div><div>(I have not worked with C++ in a long time, but Stack Overflow seems to have a lot of people asking about this error.)</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>