<html>
<head>
<base href="https://bugs.documentfoundation.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Replace boost::noncopyable with plain C++11 deleted copy ctors"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=94306#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Replace boost::noncopyable with plain C++11 deleted copy ctors"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=94306">bug 94306</a>
from <span class="vcard"><a class="email" href="mailto:danlrobertson89@gmail.com" title="Daniel L Robertson <danlrobertson89@gmail.com>"> <span class="fn">Daniel L Robertson</span></a>
</span></b>
<pre>The only real difference between structs and classes is the default access.
class NonCopyable {
public:
NonCopyable(const NonCopyable&) = delete;
const NonCopyable& operator=(const NonCopyable&) = delete;
};
is essentially the same as
struct NonCopyable {
NonCopyable(const NonCopyable&) = delete;
const NonCopyable& operator=(const NonCopyable&) = delete;
};</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>