scnlib  0.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
config.h File Reference
#include <cassert>
#include <new>

Go to the source code of this file.

Macros

#define SCN_STD_11   201103L
 
#define SCN_STD_14   201402L
 
#define SCN_STD_17   201703L
 
#define SCN_COMPILER(major, minor, patch)   ((major)*10000000 /* 10,000,000 */ + (minor)*10000 /* 10,000 */ + (patch))
 
#define SCN_VERSION   SCN_COMPILER(0, 2, 0)
 
#define SCN_INTEL   0
 
#define SCN_MSVC   0
 
#define SCN_CLANG   0
 
#define SCN_GCC   0
 
#define SCN_GCC_COMPAT   0
 
#define SCN_STRINGIFY_APPLY(x)   #x
 
#define SCN_STRINGIFY(x)   SCN_STRINGIFY_APPLY(x)
 
#define SCN_POSIX   0
 
#define SCN_WINDOWS   0
 
#define SCN_MSVC_LANG   0
 
#define SCN_GCC_PUSH
 
#define SCN_GCC_POP
 
#define SCN_GCC_IGNORE(x)
 
#define SCN_CLANG_PUSH
 
#define SCN_CLANG_POP
 
#define SCN_CLANG_IGNORE(x)
 
#define SCN_CLANG_PUSH_IGNORE_UNDEFINED_TEMPLATE
 
#define SCN_CLANG_POP_IGNORE_UNDEFINED_TEMPLATE
 
#define SCN_MSVC_PUSH
 
#define SCN_MSVC_POP
 
#define SCN_MSVC_IGNORE(x)
 
#define SCN_PREDEFINE_VSCAN_OVERLOADS   0
 
#define SCN_HAS_EXCEPTIONS   0
 
#define SCN_TRY   if (true)
 
#define SCN_CATCH(x)   if (false)
 
#define SCN_THROW(x)   ::std::abort()
 
#define SCN_RETHROW   ::std::abort()
 
#define SCN_HAS_INCLUDE(x)   0
 
#define SCN_HAS_CPP_ATTRIBUTE(x)   0
 
#define SCN_HAS_FEATURE(x)   0
 
#define SCN_HAS_BUILTIN(x)   0
 
#define SCN_HAS_RELAXED_CONSTEXPR   0
 
#define SCN_CONSTEXPR14   inline
 
#define SCN_HAS_STRING_VIEW   0
 
#define SCN_NODISCARD   /*nodiscard*/
 
#define SCN_TRIVIAL_ABI   /*trivial_abi*/
 
#define SCN_FUNC
 
#define SCN_HAS_INTEGER_CHARCONV   0
 
#define SCN_HAS_FLOAT_CHARCONV   0
 
#define SCN_HAS_LAUNDER   0
 
#define SCN_HAS_ASSUME   0
 
#define SCN_HAS_BUILTIN_ASSUME   0
 
#define SCN_HAS_BUILTIN_UNREACHABLE   0
 
#define SCN_ASSUME(x)   static_cast<void>((x) ? 0 : 0)
 
#define SCN_UNREACHABLE   SCN_ASSUME(0)
 
#define SCN_HAS_BUILTIN_EXPECT   0
 
#define SCN_LIKELY(x)   (x)
 
#define SCN_UNLIKELY(x)   (x)
 
#define SCN_DEPRECATED   /* deprecated */
 
#define SCN_UNUSED(x)   static_cast<void>(sizeof(x))
 
#define SCN_ASSERT(cond, msg)
 
#define SCN_EXPECT(cond)
 
#define SCN_ENSURE(cond)
 
#define SCN_BEGIN_NAMESPACE   inline namespace v0 {
 
#define SCN_END_NAMESPACE   }
 

Macro Definition Documentation

#define SCN_ASSERT (   cond,
  msg 
)

Definition at line 400 of file config.h.

#define SCN_ASSUME (   x)    static_cast<void>((x) ? 0 : 0)

Definition at line 346 of file config.h.

#define SCN_BEGIN_NAMESPACE   inline namespace v0 {

Definition at line 405 of file config.h.

#define SCN_CATCH (   x)    if (false)

Definition at line 193 of file config.h.

#define SCN_CLANG   0

Definition at line 64 of file config.h.

#define SCN_CLANG_IGNORE (   x)

Definition at line 150 of file config.h.

#define SCN_CLANG_POP

Definition at line 149 of file config.h.

#define SCN_CLANG_POP_IGNORE_UNDEFINED_TEMPLATE

Definition at line 152 of file config.h.

#define SCN_CLANG_PUSH

Definition at line 148 of file config.h.

#define SCN_CLANG_PUSH_IGNORE_UNDEFINED_TEMPLATE

Definition at line 151 of file config.h.

#define SCN_COMPILER (   major,
  minor,
  patch 
)    ((major)*10000000 /* 10,000,000 */ + (minor)*10000 /* 10,000 */ + (patch))

Definition at line 27 of file config.h.

#define SCN_CONSTEXPR14   inline

Definition at line 246 of file config.h.

#define SCN_DEPRECATED   /* deprecated */

Definition at line 382 of file config.h.

#define SCN_END_NAMESPACE   }

Definition at line 406 of file config.h.

#define SCN_ENSURE (   cond)

Definition at line 402 of file config.h.

#define SCN_EXPECT (   cond)

Definition at line 401 of file config.h.

#define SCN_FUNC

Definition at line 283 of file config.h.

#define SCN_GCC   0

Definition at line 67 of file config.h.

#define SCN_GCC_COMPAT   0

Definition at line 88 of file config.h.

#define SCN_GCC_IGNORE (   x)

Definition at line 127 of file config.h.

#define SCN_GCC_POP

Definition at line 126 of file config.h.

#define SCN_GCC_PUSH

Definition at line 125 of file config.h.

#define SCN_HAS_ASSUME   0

Definition at line 322 of file config.h.

#define SCN_HAS_BUILTIN (   x)    0

Definition at line 219 of file config.h.

#define SCN_HAS_BUILTIN_ASSUME   0

Definition at line 329 of file config.h.

#define SCN_HAS_BUILTIN_EXPECT   0

Definition at line 359 of file config.h.

#define SCN_HAS_BUILTIN_UNREACHABLE   0

Definition at line 336 of file config.h.

#define SCN_HAS_CPP_ATTRIBUTE (   x)    0

Definition at line 207 of file config.h.

#define SCN_HAS_EXCEPTIONS   0

Definition at line 180 of file config.h.

#define SCN_HAS_FEATURE (   x)    0

Definition at line 213 of file config.h.

#define SCN_HAS_FLOAT_CHARCONV   0

Definition at line 307 of file config.h.

#define SCN_HAS_INCLUDE (   x)    0

Definition at line 201 of file config.h.

#define SCN_HAS_INTEGER_CHARCONV   0

Definition at line 306 of file config.h.

#define SCN_HAS_LAUNDER   0

Definition at line 315 of file config.h.

#define SCN_HAS_RELAXED_CONSTEXPR   0

Definition at line 239 of file config.h.

#define SCN_HAS_STRING_VIEW   0

Definition at line 259 of file config.h.

#define SCN_INTEL   0

Definition at line 58 of file config.h.

#define SCN_LIKELY (   x)    (x)

Definition at line 366 of file config.h.

#define SCN_MSVC   0

Definition at line 61 of file config.h.

#define SCN_MSVC_IGNORE (   x)

Definition at line 163 of file config.h.

#define SCN_MSVC_LANG   0

Definition at line 113 of file config.h.

#define SCN_MSVC_POP

Definition at line 162 of file config.h.

#define SCN_MSVC_PUSH

Definition at line 161 of file config.h.

#define SCN_NODISCARD   /*nodiscard*/

Definition at line 270 of file config.h.

#define SCN_POSIX   0

Definition at line 99 of file config.h.

#define SCN_PREDEFINE_VSCAN_OVERLOADS   0

Definition at line 167 of file config.h.

#define SCN_RETHROW   ::std::abort()

Definition at line 195 of file config.h.

#define SCN_STD_11   201103L

Definition at line 23 of file config.h.

#define SCN_STD_14   201402L

Definition at line 24 of file config.h.

#define SCN_STD_17   201703L

Definition at line 25 of file config.h.

#define SCN_STRINGIFY (   x)    SCN_STRINGIFY_APPLY(x)

Definition at line 92 of file config.h.

#define SCN_STRINGIFY_APPLY (   x)    #x

Definition at line 91 of file config.h.

#define SCN_THROW (   x)    ::std::abort()

Definition at line 194 of file config.h.

#define SCN_TRIVIAL_ABI   /*trivial_abi*/

Definition at line 277 of file config.h.

#define SCN_TRY   if (true)

Definition at line 192 of file config.h.

#define SCN_UNLIKELY (   x)    (x)

Definition at line 367 of file config.h.

#define SCN_UNREACHABLE   SCN_ASSUME(0)

Definition at line 352 of file config.h.

#define SCN_UNUSED (   x)    static_cast<void>(sizeof(x))

Definition at line 389 of file config.h.

#define SCN_VERSION   SCN_COMPILER(0, 2, 0)

Definition at line 29 of file config.h.

#define SCN_WINDOWS   0

Definition at line 107 of file config.h.