Have you considered the C++ way with io streams? Or it might be solvable using C++11 variadic templates?
I'm not sure I understand the problem though. Martin 3. okt. 2014 16:00 skrev "Garth N. Wells" <[email protected]> følgende: > We have some very C-like (and not C++ like) code in the DOLFIN logging > that uses ellipses to take a variable number of arguments, e.g in > dolfin/log/log.h. I'm trying to straighten out logging in parallel by > passing an MPI communicator to the log functions, but I can't re-use > function names because of the ellipses. Does anyone know a better solution > than using ellipses, or have suggestions on getting around the problem? > > Garth > > _______________________________________________ > fenics mailing list > [email protected] > http://fenicsproject.org/mailman/listinfo/fenics >
_______________________________________________ fenics mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics
