From fb05b3394a0d338ba6835b428d21b0c26ca2937f Mon Sep 17 00:00:00 2001 From: Terik23 Date: Wed, 5 Oct 2016 14:15:30 +0500 Subject: [PATCH] --- nameofcpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nameofcpp b/nameofcpp index 8a93754..d30ffb3 100644 --- a/nameofcpp +++ b/nameofcpp @@ -1,3 +1,5 @@ +```cpp + ///Used to obtain the string name of a variable. #define nameof(name) template_nameof((name), #name) @@ -10,4 +12,6 @@ const char* template_nameof(T test, const char* name) // int test = 0; // std::cout << nameof(test) << std::endl; -// prints "test” \ No newline at end of file +// prints "test” + +``` \ No newline at end of file