-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
1,224 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,25 @@ | ||
#pragma once | ||
|
||
#if defined(__cpp_concepts) && __cpp_concepts >= 202002L | ||
# define LIB_INTERVAL_TREE_CONCEPTS | ||
// define LIB_INTERVAL_TREE_CONCEPTS to override the concepts feature test | ||
#ifndef LIB_INTERVAL_TREE_CONCEPTS | ||
# if defined(__cpp_concepts) && __cpp_concepts >= 202002L | ||
# define LIB_INTERVAL_TREE_CONCEPTS | ||
# endif | ||
#endif | ||
|
||
namespace lib_interval_tree | ||
{ | ||
} | ||
// define LIB_INTERVAL_TREE_DEPRECATED if __attribute__((deprecated)) is not supported | ||
#ifndef LIB_INTERVAL_TREE_DEPRECATED | ||
# if __has_cpp_attribute(depreacted) | ||
# define LIB_INTERVAL_TREE_DEPRECATED [[deprecated]] | ||
# else | ||
# define LIB_INTERVAL_TREE_DEPRECATED __attribute__((deprecated)) | ||
# endif | ||
#endif | ||
|
||
#ifndef LIB_INTERVAL_TREE_FALLTHROUGH | ||
# if __has_cpp_attribute(fallthrough) | ||
# define LIB_INTERVAL_TREE_FALLTHROUGH [[fallthrough]] | ||
# else | ||
# define LIB_INTERVAL_TREE_FALLTHROUGH __attribute__((fallthrough)) | ||
# endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.