Created
January 3, 2020 00:58
-
-
Save JohanMabille/c84719e38a0886b60e4076838e586b8d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template <class F, class... CT> | |
inline void xfunction_stepper<F, CT...>::step(size_type dim, size_type n) | |
{ | |
auto f = [dim, n](auto& st) { st.step(dim, n); }; | |
for_each(f, m_st); | |
} | |
template <class F, class... CT> | |
inline void xfunction_stepper<F, CT...>::step_back(size_type dim, size_type n) | |
{ | |
auto f = [dim, n](auto& st) { st.step_back(dim, n); }; | |
for_each(f, m_st); | |
} | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment