• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

Assert.h

Go to the documentation of this file.
00001 // GMTL is (C) Copyright 2001-2010 by Allen Bierbaum
00002 // Distributed under the GNU Lesser General Public License 2.1 with an
00003 // addendum covering inlined code. (See accompanying files LICENSE and
00004 // LICENSE.addendum or http://www.gnu.org/copyleft/lesser.txt)
00005 
00006 #ifndef GMTL_ASSERT_H
00007 #define GMTL_ASSERT_H
00008 
00009 // -- VERY simple assertion stuff -- //
00010 #ifdef _DEBUG
00011 #   include <assert.h>
00012 #   define gmtlASSERT(val) assert((val))
00013 #else
00014 #   define gmtlASSERT(val) ((void)0)
00015 #endif
00016 
00017 
00018 #endif

Generated on Sun Sep 19 2010 14:35:14 for GenericMathTemplateLibrary by  doxygen 1.7.1