https://bugs.documentfoundation.org/show_bug.cgi?id=94306

--- Comment #6 from Daniel L Robertson <danlrobertso...@gmail.com> ---
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;
};

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to