How to generically pass parameters to a function. General C++ question

#define MY_LCD_PRINT(x) do {if (condition) lcd.print (x);  } while (0)