2 #ifndef _LIBCXX__LIBCXX_HELEPRS_H_
3 #define _LIBCXX__LIBCXX_HELEPRS_H_
5 #if __cplusplus > 199711L // C++11 check
6 # define _CXX11_AVAIL 1
8 # define _CXX11_AVAIL 0
11 #define _libcxx_assert(cnd) do { \
13 ::_sys::debug("libc++ assert failure %s:%i - %s", __FILE__, __LINE__, #cnd);\
19 extern void abort() __asm__ ("abort") __attribute__((noreturn));
20 extern void debug(const char *, ...);
21 extern void hexdump(const char *, const void *, unsigned int);
25 #define _CXX11_MOVE(val) ::std::move(val)
27 #define _CXX11_MOVE(val) val