Reference documentation for deal.II version 9.2.0
|
Functions | |
template<typename F , typename Tuple , size_t... S> | |
auto | apply_impl (F &&fn, Tuple &&t, std_cxx14::index_sequence< S... >) -> decltype(std::forward< F >(fn)(std::get< S >(std::forward< Tuple >(t))...)) |
template<typename F , typename Tuple > | |
auto | apply (F &&fn, Tuple &&t) -> decltype(apply_impl(std::forward< F >(fn), std::forward< Tuple >(t), std_cxx14::make_index_sequence< std::tuple_size< typename std::remove_reference< Tuple >::type >::value >())) |
Variables | |
double(&) | cyl_bessel_j (double, double) = boost::math::cyl_bessel_j<double, double> |
float(&) | cyl_bessel_jf (float, float) = boost::math::cyl_bessel_j<float, float> |
long double(&) | cyl_bessel_jl (long double, long double) |
deal.II currently only requires a C++11-conforming compiler, but there are a number of functions and classes from the C++17 standard that are easy to provide also in case the compiler only supports C++11. These are collected in the current namespace.
The most notable example is the std::optional
class that was introduced to C++ starting with the C++17 standard.
There are other small additions in this namespace that allow us to use C++17 features at this point already, even though we don't require a C++17-compliant compiler.
std
. That is, we fall back to what the compiler provides, rather than our own implementations. auto std_cxx17::apply_impl | ( | F && | fn, |
Tuple && | t, | ||
std_cxx14::index_sequence< S... > | |||
) | -> decltype(std::forward<F>(fn)(std::get<S>(std::forward<Tuple>(t))...)) |
auto std_cxx17::apply | ( | F && | fn, |
Tuple && | t | ||
) | -> decltype(apply_impl( std::forward<F>(fn), std::forward<Tuple>(t), std_cxx14::make_index_sequence< std::tuple_size<typename std::remove_reference<Tuple>::type>::value>())) |
float(&) std_cxx17::cyl_bessel_jf(float, float) = boost::math::cyl_bessel_j<float, float> |