21#define SEQAN3_STR_HELPER(x) #x
22#define SEQAN3_STR(x) SEQAN3_STR_HELPER(x)
31#ifndef SEQAN3_DOXYGEN_ONLY
32# define SEQAN3_DOXYGEN_ONLY(x)
39#if defined(__GNUC__) && (__GNUC__ < 10)
40# error "SeqAn 3.1.x is the last version that supports GCC 7, 8, and 9. Please upgrade your compiler or use 3.1.x."
43#if SEQAN3_DOXYGEN_ONLY(1) 0
45# define SEQAN3_DISABLE_NEWER_COMPILER_DIAGNOSTIC
48#ifndef SEQAN3_DISABLE_NEWER_COMPILER_DIAGNOSTIC
49# if defined(__GNUC__) && (__GNUC__ > 12)
51 "Your compiler is newer than the latest supported compiler of this SeqAn version (gcc-12). It might be that SeqAn does not compile due to this. You can disable this warning by setting -DSEQAN3_DISABLE_NEWER_COMPILER_DIAGNOSTIC."
62# if (__cplusplus < 201709)
63# error "SeqAn3 requires C++20, make sure that you have set -std=c++20."
66# error "This is not a C++ compiler."
69#if __has_include(<version>)
78#if __has_include(<seqan3/version.hpp>)
81# error SeqAn3 include directory not set correctly. Forgot to add -I ${INSTALLDIR}/include to your CXXFLAGS?
85#if __has_include(<sdsl/version.hpp>)
86# include <sdsl/version.hpp>
87static_assert(sdsl::sdsl_version_major == 3,
"Only version 3 of the SDSL is supported by SeqAn3.");
89# error The sdsl library was not included correctly. Forgot to add -I ${INSTALLDIR}/include to your CXXFLAGS?
97#ifndef SEQAN3_WITH_CEREAL
98# if __has_include(<cereal/cereal.hpp>)
99# define SEQAN3_WITH_CEREAL 1
101# define SEQAN3_WITH_CEREAL 0
103#elif SEQAN3_WITH_CEREAL != 0
104# if !__has_include(<cereal/cereal.hpp>)
105# error Cereal was marked as required, but not found!
110#if !SEQAN3_WITH_CEREAL
116# define CEREAL_SERIALIZE_FUNCTION_NAME serialize
117# define CEREAL_LOAD_FUNCTION_NAME load
118# define CEREAL_SAVE_FUNCTION_NAME save
119# define CEREAL_LOAD_MINIMAL_FUNCTION_NAME load_minimal
120# define CEREAL_SAVE_MINIMAL_FUNCTION_NAME save_minimal
130#ifndef SEQAN3_WITH_LEMON
131# if __has_include(<lemon/config.h>)
132# define SEQAN3_WITH_LEMON 1
134# define SEQAN3_WITH_LEMON 0
136#elif SEQAN3_WITH_LEMON != 0
137# if !__has_include(<lemon/config.h>)
138# error Lemon was marked as required, but not found!
141#if SEQAN3_WITH_LEMON == 1
142# define LEMON_HAVE_LONG_LONG 1
143# define LEMON_CXX11 1
144# if defined(__unix__) || defined(__APPLE__)
145# define LEMON_USE_PTHREAD 1
146# define LEMON_USE_WIN32_THREADS 0
147# define LEMON_WIN32 0
149# define LEMON_USE_PTHREAD 0
150# define LEMON_USE_WIN32_THREADS 1
151# define LEMON_WIN32 1
163# define SEQAN3_PRAGMA(non_string_literal) _Pragma(# non_string_literal)
167#ifndef SEQAN3_DEPRECATED_HEADER
168# ifndef SEQAN3_DISABLE_DEPRECATED_WARNINGS
169# define SEQAN3_DEPRECATED_HEADER(message) SEQAN3_PRAGMA(GCC warning message)
171# define SEQAN3_DEPRECATED_HEADER(message)
176#ifndef SEQAN3_REMOVE_DEPRECATED_330
177# ifndef SEQAN3_DEPRECATED_330
178# ifndef SEQAN3_DISABLE_DEPRECATED_WARNINGS
179# define SEQAN3_DEPRECATED_330 \
180 [[deprecated("This will be removed in SeqAn-3.3.0; please see the documentation.")]]
182# define SEQAN3_DEPRECATED_330
199#if defined(__GNUC__) && (__GNUC__ == 10 && __GNUC_MINOR__ <= 2)
200# pragma GCC warning \
201 "Be aware that gcc 10.0, 10.1 and 10.2 are known to have several bugs that might make SeqAn3 fail to compile. Please use gcc >= 10.3."
204#ifndef SEQAN3_WORKAROUND_VIEW_PERFORMANCE
206# define SEQAN3_WORKAROUND_VIEW_PERFORMANCE 1
210#ifndef SEQAN3_WORKAROUND_GCC_96070
211# if defined(__GNUC__) && (__GNUC__ == 10 && __GNUC_MINOR__ < 4)
212# define SEQAN3_WORKAROUND_GCC_96070 1
214# define SEQAN3_WORKAROUND_GCC_96070 0
220#ifndef SEQAN3_WORKAROUND_GCC_PIPEABLE_CONFIG_CONCEPT
221# if defined(__GNUC__) && (__GNUC__ < 11)
222# define SEQAN3_WORKAROUND_GCC_PIPEABLE_CONFIG_CONCEPT 1
224# define SEQAN3_WORKAROUND_GCC_PIPEABLE_CONFIG_CONCEPT 0
229#ifndef SEQAN3_WORKAROUND_DEFAULT_CONSTRUCTIBLE_VIEW
230# if defined(__GNUC__) && (__GNUC__ < 12)
231# define SEQAN3_WORKAROUND_DEFAULT_CONSTRUCTIBLE_VIEW 1
233# define SEQAN3_WORKAROUND_DEFAULT_CONSTRUCTIBLE_VIEW 0
239#ifndef SEQAN3_WORKAROUND_GCC_100139
240# if defined(__GNUC__) && (__GNUC__ < 12)
241# define SEQAN3_WORKAROUND_GCC_100139 1
243# define SEQAN3_WORKAROUND_GCC_100139 0
250#ifndef SEQAN3_WORKAROUND_GCC_BOGUS_MEMCPY
251# if defined(__GNUC__) && (__GNUC__ == 12 && __GNUC_MINOR__ < 2)
252# define SEQAN3_WORKAROUND_GCC_BOGUS_MEMCPY 1
254# define SEQAN3_WORKAROUND_GCC_BOGUS_MEMCPY 0
268#ifndef SEQAN3_WORKAROUND_GCC_NO_CXX11_ABI
269# if defined(_GLIBCXX_USE_CXX11_ABI) && _GLIBCXX_USE_CXX11_ABI == 0
270# define SEQAN3_WORKAROUND_GCC_NO_CXX11_ABI 1
272# define SEQAN3_WORKAROUND_GCC_NO_CXX11_ABI 0
276#if SEQAN3_DOXYGEN_ONLY(1) 0
278# define SEQAN3_DISABLE_LEGACY_STD_DIAGNOSTIC
281#if defined(_GLIBCXX_USE_CXX11_ABI) && _GLIBCXX_USE_CXX11_ABI == 0
282# ifndef SEQAN3_DISABLE_LEGACY_STD_DIAGNOSTIC
284 "We do not actively support compiler that have -D_GLIBCXX_USE_CXX11_ABI=0 set, and it might be that SeqAn does not compile due to this. It is known that all compiler of CentOS 7 / RHEL 7 set this flag by default (and that it cannot be overridden!). Note that these versions of the OSes are community-supported (see https://docs.seqan.de/seqan/3-master-user/about_api.html#platform_stability for more details). You can disable this warning by setting -DSEQAN3_DISABLE_LEGACY_STD_DIAGNOSTIC."
294#undef SEQAN3_STR_HELPER
307template <
class Container>
308class back_insert_iterator;
310template <
class Container>
311constexpr back_insert_iterator<Container>
back_inserter(Container & c);
313template <
class CharT>
316template <
class T,
class CharT,
class Traits>
317class ostream_iterator;
319template <
class CharT,
class Traits>
320class ostreambuf_iterator;
328#ifndef SEQAN3_CPP20_ODR
329# define SEQAN3_CPP20_ODR 1
330template <
class Container>
337template <
class T,
class CharT =
char,
class Traits = std::
char_traits<CharT>>
340template <
class CharT,
class Traits = std::
char_traits<CharT>>
T back_inserter(T... args)
SeqAn specific customisations in the standard namespace.
Provides SeqAn version macros and global variables.