/usr/include/boost/hana
NameSizeModeActions
concept/-0755rm
core/-0755rm
detail/-0755rm
experimental/-0755rm
ext/-0755rm
functional/-0755rm
fwd/-0755rm
accessors.hpp15130644editdlrm
adapt_adt.hpp4220644editdlrm
adapt_struct.hpp4370644editdlrm
adjust.hpp16980644editdlrm
adjust_if.hpp25150644editdlrm
all.hpp13270644editdlrm
all_of.hpp15700644editdlrm
and.hpp16670644editdlrm
any.hpp13270644editdlrm
any_of.hpp75310644editdlrm
ap.hpp24960644editdlrm
append.hpp23570644editdlrm
assert.hpp163250644editdlrm
at.hpp16590644editdlrm
at_key.hpp30090644editdlrm
back.hpp15340644editdlrm
basic_tuple.hpp94550644editdlrm
bool.hpp97470644editdlrm
cartesian_product.hpp38600644editdlrm
chain.hpp14880644editdlrm
comparing.hpp12220644editdlrm
concat.hpp27120644editdlrm
concept.hpp13010644editdlrm
config.hpp71520644editdlrm
contains.hpp15600644editdlrm
core.hpp6100644editdlrm
count.hpp14960644editdlrm
count_if.hpp31370644editdlrm
cycle.hpp42750644editdlrm
define_struct.hpp4420644editdlrm
difference.hpp11160644editdlrm
div.hpp38040644editdlrm
drop_back.hpp24750644editdlrm
drop_front.hpp17960644editdlrm
drop_front_exactly.hpp30300644editdlrm
drop_while.hpp31740644editdlrm
duplicate.hpp13920644editdlrm
empty.hpp14000644editdlrm
equal.hpp80120644editdlrm
erase_key.hpp10290644editdlrm
eval.hpp17980644editdlrm
eval_if.hpp33810644editdlrm
extend.hpp14980644editdlrm
extract.hpp12480644editdlrm
fill.hpp22160644editdlrm
filter.hpp44730644editdlrm
find.hpp17320644editdlrm
find_if.hpp40110644editdlrm
first.hpp12420644editdlrm
flatten.hpp17690644editdlrm
fold.hpp3780644editdlrm
fold_left.hpp31280644editdlrm
fold_right.hpp31470644editdlrm
for_each.hpp18630644editdlrm
front.hpp13150644editdlrm
functional.hpp11860644editdlrm
fuse.hpp13090644editdlrm
greater.hpp24010644editdlrm
greater_equal.hpp25520644editdlrm
group.hpp55430644editdlrm
hash.hpp35720644editdlrm
if.hpp18340644editdlrm
index_if.hpp34850644editdlrm
insert.hpp16200644editdlrm
insert_range.hpp21710644editdlrm
integral_constant.hpp3890644editdlrm
intersection.hpp11000644editdlrm
intersperse.hpp25860644editdlrm
is_disjoint.hpp20400644editdlrm
is_empty.hpp12440644editdlrm
is_subset.hpp29190644editdlrm
keys.hpp13070644editdlrm
lazy.hpp79470644editdlrm
length.hpp15540644editdlrm
less.hpp53220644editdlrm
less_equal.hpp24850644editdlrm
lexicographical_compare.hpp43440644editdlrm
lift.hpp15000644editdlrm
map.hpp225930644editdlrm
max.hpp17590644editdlrm
maximum.hpp33480644editdlrm
members.hpp19700644editdlrm
min.hpp17590644editdlrm
minimum.hpp33530644editdlrm
minus.hpp40050644editdlrm
mod.hpp38040644editdlrm
monadic_compose.hpp15830644editdlrm
monadic_fold_left.hpp48620644editdlrm
monadic_fold_right.hpp48820644editdlrm
mult.hpp37470644editdlrm
negate.hpp18570644editdlrm
none.hpp13400644editdlrm
none_of.hpp15320644editdlrm
not.hpp22170644editdlrm
not_equal.hpp19820644editdlrm
one.hpp24320644editdlrm
optional.hpp154220644editdlrm
or.hpp18600644editdlrm
ordering.hpp12310644editdlrm
pair.hpp80480644editdlrm
partition.hpp41990644editdlrm
permutations.hpp25990644editdlrm
plus.hpp37590644editdlrm
power.hpp19540644editdlrm
prefix.hpp15970644editdlrm
prepend.hpp23720644editdlrm
product.hpp17010644editdlrm
range.hpp99100644editdlrm
remove.hpp16950644editdlrm
remove_at.hpp29890644editdlrm
remove_if.hpp16440644editdlrm
remove_range.hpp38850644editdlrm
repeat.hpp17930644editdlrm
replace.hpp17970644editdlrm
replace_if.hpp17640644editdlrm
replicate.hpp22820644editdlrm
reverse.hpp18020644editdlrm
reverse_fold.hpp11440644editdlrm
scan_left.hpp50600644editdlrm
scan_right.hpp51380644editdlrm
second.hpp12530644editdlrm
set.hpp118540644editdlrm
size.hpp3750644editdlrm
slice.hpp34070644editdlrm
sort.hpp88550644editdlrm
span.hpp26290644editdlrm
string.hpp123100644editdlrm
suffix.hpp15830644editdlrm
sum.hpp16610644editdlrm
symmetric_difference.hpp13940644editdlrm
take_back.hpp25190644editdlrm
take_front.hpp24710644editdlrm
take_while.hpp17760644editdlrm
tap.hpp16160644editdlrm
then.hpp16880644editdlrm
traits.hpp101720644editdlrm
transform.hpp24110644editdlrm
tuple.hpp116510644editdlrm
type.hpp100820644editdlrm
unfold_left.hpp22040644editdlrm
unfold_right.hpp22240644editdlrm
union.hpp10300644editdlrm
unique.hpp23610644editdlrm
unpack.hpp51750644editdlrm
value.hpp15610644editdlrm
version.hpp20320644editdlrm
while.hpp44410644editdlrm
zero.hpp24540644editdlrm
zip.hpp14620644editdlrm
zip_shortest.hpp16040644editdlrm
zip_shortest_with.hpp21160644editdlrm
zip_with.hpp22920644editdlrm
Edit: /usr/include/boost/hana/config.hpp (7152B)
/*! @file Defines configuration macros used throughout the library. @copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_HANA_CONFIG_HPP #define BOOST_HANA_CONFIG_HPP #include ////////////////////////////////////////////////////////////////////////////// // Detect the compiler ////////////////////////////////////////////////////////////////////////////// #if defined(_MSC_VER) && !defined(__clang__) // MSVC // This must be checked first, because otherwise it produces a fatal // error due to unrecognized #warning directives used below. # if _MSC_VER < 1915 # pragma message("Warning: the native Microsoft compiler is not supported due to lack of proper C++14 support.") # else // 1. Active issues // Multiple copy/move ctors # define BOOST_HANA_WORKAROUND_MSVC_MULTIPLECTOR_106654 // 2. Issues fixed in the development branch of MSVC // Forward declaration of class template member function returning decltype(auto) # define BOOST_HANA_WORKAROUND_MSVC_DECLTYPEAUTO_RETURNTYPE_662735 // 3. Issues fixed conditionally // Requires __declspec(empty_bases) // Empty base optimization # define BOOST_HANA_WORKAROUND_MSVC_EMPTYBASE // Requires /experimental:preprocessor // Variadic macro expansion # if !defined(_MSVC_TRADITIONAL) || _MSVC_TRADITIONAL # define BOOST_HANA_WORKAROUND_MSVC_PREPROCESSOR_616033 # endif # endif #elif defined(__clang__) && defined(_MSC_VER) // Clang-cl (Clang for Windows) # define BOOST_HANA_CONFIG_CLANG BOOST_HANA_CONFIG_VERSION( \ __clang_major__, __clang_minor__, __clang_patchlevel__) #elif defined(__clang__) && defined(__apple_build_version__) // Apple's Clang # if __apple_build_version__ >= 6020049 # define BOOST_HANA_CONFIG_CLANG BOOST_HANA_CONFIG_VERSION(3, 6, 0) # endif #elif defined(__clang__) // genuine Clang # define BOOST_HANA_CONFIG_CLANG BOOST_HANA_CONFIG_VERSION( \ __clang_major__, __clang_minor__, __clang_patchlevel__) #elif defined(__GNUC__) // GCC # define BOOST_HANA_CONFIG_GCC BOOST_HANA_CONFIG_VERSION( \ __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__) #endif ////////////////////////////////////////////////////////////////////////////// // Check the compiler for general C++14 capabilities ////////////////////////////////////////////////////////////////////////////// #if (__cplusplus < 201400) # if defined(_MSC_VER) # if _MSC_VER < 1915 # pragma message("Warning: Your compiler doesn't provide C++14 or higher capabilities. Try adding the compiler flag '-std=c++14' or '-std=c++1y'.") # endif # else # warning "Your compiler doesn't provide C++14 or higher capabilities. Try adding the compiler flag '-std=c++14' or '-std=c++1y'." # endif #endif ////////////////////////////////////////////////////////////////////////////// // Caveats and other compiler-dependent options ////////////////////////////////////////////////////////////////////////////// // `BOOST_HANA_CONFIG_HAS_CONSTEXPR_LAMBDA` enables some constructs requiring // `constexpr` lambdas, which are in the language starting with C++17. // // Always disabled for now because Clang only has partial support for them // (captureless lambdas only). #if defined(__cplusplus) && __cplusplus > 201402L # define BOOST_HANA_CONSTEXPR_STATELESS_LAMBDA constexpr // # define BOOST_HANA_CONFIG_HAS_CONSTEXPR_LAMBDA #else # define BOOST_HANA_CONSTEXPR_STATELESS_LAMBDA /* nothing */ #endif // `BOOST_HANA_CONSTEXPR_LAMBDA` expands to `constexpr` if constexpr lambdas // are supported and to nothing otherwise. #if defined(BOOST_HANA_CONFIG_HAS_CONSTEXPR_LAMBDA) # define BOOST_HANA_CONSTEXPR_LAMBDA constexpr #else # define BOOST_HANA_CONSTEXPR_LAMBDA /* nothing */ #endif ////////////////////////////////////////////////////////////////////////////// // Namespace macros ////////////////////////////////////////////////////////////////////////////// #define BOOST_HANA_NAMESPACE_BEGIN namespace boost { namespace hana { #define BOOST_HANA_NAMESPACE_END }} ////////////////////////////////////////////////////////////////////////////// // Library features and options that can be tweaked by users ////////////////////////////////////////////////////////////////////////////// #if defined(BOOST_HANA_DOXYGEN_INVOKED) || \ (defined(NDEBUG) && !defined(BOOST_HANA_CONFIG_DISABLE_ASSERTIONS)) //! @ingroup group-config //! Disables the `BOOST_HANA_*_ASSERT` macro & friends. //! //! When this macro is defined, the `BOOST_HANA_*_ASSERT` macro & friends //! are disabled, i.e. they expand to nothing. //! //! This macro is defined automatically when `NDEBUG` is defined. It can //! also be defined by users before including this header or defined on //! the command line. # define BOOST_HANA_CONFIG_DISABLE_ASSERTIONS #endif #if defined(BOOST_HANA_DOXYGEN_INVOKED) //! @ingroup group-config //! Disables concept checks in interface methods. //! //! When this macro is not defined (the default), tag-dispatched methods //! will make sure the arguments they are passed are models of the proper //! concept(s). This can be very helpful in catching programming errors, //! but it is also slightly less compile-time efficient. You should //! probably always leave the checks enabled (and hence never define this //! macro), except perhaps in translation units that are compiled very //! often but whose code using Hana is modified very rarely. # define BOOST_HANA_CONFIG_DISABLE_CONCEPT_CHECKS #endif #if defined(BOOST_HANA_DOXYGEN_INVOKED) //! @ingroup group-config //! Enables usage of the "string literal operator template" GNU extension. //! //! That operator is not part of the language yet, but it is supported by //! both Clang and GCC. This operator allows Hana to provide the nice `_s` //! user-defined literal for creating compile-time strings. //! //! When this macro is not defined, the GNU extension will be not used //! by Hana. Because this is a non-standard extension, the macro is not //! defined by default. # define BOOST_HANA_CONFIG_ENABLE_STRING_UDL #endif #if defined(BOOST_HANA_DOXYGEN_INVOKED) //! @ingroup group-config //! Enables additional assertions and sanity checks to be done by Hana. //! //! When this macro is defined (it is __not defined__ by default), //! additional sanity checks may be done by Hana. These checks may //! be costly to perform, either in terms of compilation time or in //! terms of execution time. These checks may help debugging an //! application during its initial development, but they should not //! be enabled as part of the normal configuration. # define BOOST_HANA_CONFIG_ENABLE_DEBUG_MODE #endif #endif // !BOOST_HANA_CONFIG_HPP