I need to create an exception handling, in that I also asked to print the status of the operation like
“file open : The operation completed successfully”
“file close: The operation completed successfully”,
etc.
Is there any macro for this like __LINE__,__FUNCTION__,__FILE__?
Or is there any boost function available to do this?
I think the answer is that you want to stringify the expression you are evaluating?
Code: