* include/bits/locale_classes.h (locale::facet): Delete copy
operations in C++11 mode.
From-SVN: r222694
2015-05-01 Jonathan Wakely <jwakely@redhat.com>
+ * include/bits/locale_classes.h (locale::facet): Delete copy
+ operations in C++11 mode.
+
* include/bits/alloc_traits.h (__alloc_rebind): Change parameter name.
* acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris.
_GLIBCXX_CONST static const char*
_S_get_c_name() throw();
+#if __cplusplus < 201103L
+ private:
+ facet(const facet&); // Not defined.
+
+ facet&
+ operator=(const facet&); // Not defined.
+#else
+ facet(const facet&) = delete;
+
+ facet&
+ operator=(const facet&) = delete;
+#endif
+
private:
void
_M_add_reference() const throw()
}
}
- facet(const facet&); // Not defined.
-
- facet&
- operator=(const facet&); // Not defined.
-
class __shim;
const facet* _M_sso_shim(const id*) const;