mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add sprout/numeric/dft.wave.hpp
fix constexpr -> inline constexpr
This commit is contained in:
parent
e4a4d17207
commit
f9d4b475b4
69 changed files with 420 additions and 378 deletions
|
@ -48,7 +48,7 @@ namespace sprout {
|
|||
typename... Tail,
|
||||
typename sprout::enabler_if<N == 0>::type = sprout::enabler
|
||||
>
|
||||
SPROUT_CONSTEXPR R fppack_at_impl(Head&& head, Tail&&... tail) {
|
||||
inline SPROUT_CONSTEXPR R fppack_at_impl(Head&& head, Tail&&... tail) {
|
||||
return sprout::forward<Head>(head);
|
||||
}
|
||||
template<
|
||||
|
@ -58,12 +58,12 @@ namespace sprout {
|
|||
typename... Tail,
|
||||
typename sprout::enabler_if<N != 0>::type = sprout::enabler
|
||||
>
|
||||
SPROUT_CONSTEXPR R fppack_at_impl(Head&& head, Tail&&... tail) {
|
||||
inline SPROUT_CONSTEXPR R fppack_at_impl(Head&& head, Tail&&... tail) {
|
||||
return sprout::detail::fppack_at_impl<N - 1, R>(sprout::forward<Tail>(tail)...);
|
||||
}
|
||||
} // namespace detail
|
||||
template<std::size_t N, typename... Args>
|
||||
SPROUT_CONSTEXPR typename sprout::tppack_at<N, Args&&...>::type fppack_at(Args&&... args) {
|
||||
inline SPROUT_CONSTEXPR typename sprout::tppack_at<N, Args&&...>::type fppack_at(Args&&... args) {
|
||||
return sprout::detail::fppack_at_impl<
|
||||
N,
|
||||
typename sprout::tppack_at<N, Args&&...>::type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue