9dc22b1ee6
Various functions use the non-macro form, so support for =delete is already mandatory. Remove the remnants of support for compilers which lack =delete and replace it with a hard stop when the compiler rejects declaring explicitly deleted functions.
26 lines
779 B
C++
26 lines
779 B
C++
#pragma once
|
|
|
|
#define __attribute_alloc_size(A,...)
|
|
#define __attribute_format_printf(A,B)
|
|
#define __attribute_format_arg(A)
|
|
#define __attribute_malloc()
|
|
#define __attribute_nonnull(...)
|
|
#define __attribute_used
|
|
#define __attribute_warn_unused_result
|
|
#define DXX_HAVE_CXX_ARRAY
|
|
#define DXX_HAVE_CXX11_ADDRESSOF
|
|
#define DXX_HAVE_CXX11_RANGE_FOR
|
|
#define DXX_HAVE_CXX11_STATIC_ASSERT
|
|
#define DXX_HAVE_CXX11_TYPE_TRAITS
|
|
#define DXX_HAVE_CXX11_TEMPLATE_ALIAS
|
|
#define dxx_explicit_operator_bool explicit
|
|
#define DXX_HAVE_CXX11_BEGIN
|
|
#define dxx_builtin_constant_p(A) (false)
|
|
#define DXX_INHERIT_CONSTRUCTORS(D,B,...) \
|
|
template <typename... Args> \
|
|
D(Args&&... args) : \
|
|
B,##__VA_ARGS__(std::forward<Args>(args)...) {}
|
|
|
|
#define __func__ __FUNCTION__
|
|
typedef signed long ssize_t;
|