// // This file is part of // // CTBignum // // C++ Library for Compile-Time and Run-Time Multi-Precision and Modular Arithmetic // // // This file is distributed under the Apache License, Version 2.0. See the LICENSE // file for details. #ifndef MYPRINT_HPP #define MYPRINT_HPP #include #include template void print(Arg &&arg, Args &&... args) { std::cout << std::forward(arg); using expander = int[]; (void)expander{0, (void(std::cout << " " << std::forward(args)), 0)...}; std::cout << std::endl; } #endif