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