This commit is contained in:
Terik23 2016-10-05 14:16:29 +05:00 committed by GitHub
parent fb05b3394a
commit 75f727e63c

View file

@ -1,5 +1,3 @@
```cpp
///Used to obtain the string name of a variable.
#define nameof(name) template_nameof((name), #name)
@ -13,5 +11,3 @@ const char* template_nameof(T test, const char* name)
// int test = 0;
// std::cout << nameof(test) << std::endl;
// prints "test”
```