Re: [Libmesh-users] Suggestion: turn some macros into functions

2021-03-31 Thread John Peterson
Hi Edgar, Yes, clearly something like this will work: libmesh_example_requires_fun(bool (0), > "TESTME", > __FILE__, > __LINE__); but you then force the user to manually pass __FILE__ and __LINE__

Re: [Libmesh-users] Suggestion: turn some macros into functions

2021-03-31 Thread edgar
On 2021-03-31 13:32, John Peterson wrote: Hi Edgar, Yes, clearly something like this will work: libmesh_example_requires_fun(bool (0), "TESTME", __FILE__, __LINE__); but you then force the user