Go to the documentation of this file.
18 #ifndef LIBCWD_PRIVATE_ASSERT_H
19 #define LIBCWD_PRIVATE_ASSERT_H
21 #ifndef LIBCWD_CONFIG_H
32 void assert_fail(
char const* expr,
char const* file,
int line,
char const*
function);
38 #define LIBCWD_STRING(x) #x
40 #define LIBCWD_ASSERT(expr) \
41 (static_cast<void>((expr) ? 0 \
42 : (::libcwd::_private_::\
43 assert_fail(LIBCWD_STRING(expr), __FILE__, __LINE__, __PRETTY_FUNCTION__), 0)))
namespace for libcwd.
Definition: debug.cc:87
Copyright © 2001 - 2004 Carlo Wood. All rights reserved.