summaryrefslogtreecommitdiff
path: root/deps/tao_tuple/28626e99/include/tao/seq/config.hpp
blob: 29958766c387e5d6fa497f85976400073ab02c2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// The Art of C++ / Sequences
// Copyright (c) 2015 Daniel Frey

#ifndef TAOCPP_SEQUENCES_INCLUDE_CONFIG_HPP
#define TAOCPP_SEQUENCES_INCLUDE_CONFIG_HPP

#if __cplusplus >= 201402L
# define TAOCPP_USE_STD_INTEGER_SEQUENCE
#endif

#if (__cplusplus >= 201402L) && defined(_LIBCPP_VERSION)
# define TAOCPP_USE_STD_MAKE_INTEGER_SEQUENCE
#endif

#if defined(__cpp_fold_expressions)
# define TAOCPP_FOLD_EXPRESSIONS
#elif __cplusplus > 201402L
# if defined(__apple_build_version__) && (__clang_major__ >= 7)
#  define TAOCPP_FOLD_EXPRESSIONS
# elif defined(__clang__) && ((__clang_major__ > 3) || ((__clang_major__ == 3) && (__clang_minor__ >= 6)))
#  define TAOCPP_FOLD_EXPRESSIONS
# endif
#endif

#endif // TAOCPP_SEQUENCES_INCLUDE_CONFIG_HPP