10 #ifndef TPETRA_ASSEMBLY_HELPERS_HPP
11 #define TPETRA_ASSEMBLY_HELPERS_HPP
19 template <
typename... Args>
20 inline void foreach_pack(Args &&...args) {}
23 template <
typename... Args>
24 void beginAssembly(Args &&...args) {
27 Impl::foreach_pack((args.beginAssembly(), 1)...);
33 template <
typename... Args>
34 void endAssembly(Args &&...args) {
37 Impl::foreach_pack((args.endAssembly(), 1)...);
43 template <
typename... Args>
44 void beginModify(Args &&...args) {
47 Impl::foreach_pack((args.beginModify(), 1)...);
53 template <
typename... Args>
54 void endModify(Args &&...args) {
57 Impl::foreach_pack((args.endModify(), 1)...);
65 #endif // TPETRA_ASSEMBLY_HELPERS_HPP