diff --git a/nameofcpp b/nameof.cpp similarity index 89% rename from nameofcpp rename to nameof.cpp index d30ffb3..8a93754 100644 --- a/nameofcpp +++ b/nameof.cpp @@ -1,5 +1,3 @@ -```cpp - ///Used to obtain the string name of a variable. #define nameof(name) template_nameof((name), #name) @@ -12,6 +10,4 @@ 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