Skip to content

Commit

Permalink
Assume nullptr is always available
Browse files Browse the repository at this point in the history
  • Loading branch information
codemercenary committed Jul 31, 2014
1 parent 888203c commit 1dee298
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions contrib/C++11/cpp11.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,6 @@
#define STL_UNORDERED_MAP <unordered_map>
#endif

/*********************
* Check nullptr availability
*********************/
#if _MSC_VER >= 1500
#define NULLPTR_AVAILABLE 1
#elif CLANG_CHECK(3, 0) && (__cplusplus >= 201103 || defined(_LIBCPP_VERSION))
// Nullptr added to clang in version 3.0
#define NULLPTR_AVAILABLE 1
#else
#define NULLPTR_AVAILABLE 0
#endif

#if !NULLPTR_AVAILABLE
#define nullptr 0
#endif

/*********************
* Check override keyword availability
*********************/
Expand Down

0 comments on commit 1dee298

Please sign in to comment.