move macros into LOKI_ namespace
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@269 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
82a749919e
commit
6e99716c13
32 changed files with 480 additions and 382 deletions
|
@ -15,8 +15,8 @@
|
|||
|
||||
// Last update: June 20, 2001
|
||||
|
||||
#ifndef STATIC_CHECK_INC_
|
||||
#define STATIC_CHECK_INC_
|
||||
#ifndef LOKI_STATIC_CHECK_INC_
|
||||
#define LOKI_STATIC_CHECK_INC_
|
||||
|
||||
namespace Loki
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ namespace Loki
|
|||
// If expr is zero, id will appear in a compile-time error message.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define STATIC_CHECK(expr, msg) \
|
||||
#define LOKI_STATIC_CHECK(expr, msg) \
|
||||
{ Loki::CompileTimeError<((expr) != 0)> ERROR_##msg; (void)ERROR_##msg; }
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue