This commit is contained in:
Terik23 2018-03-27 21:05:59 +05:00
parent 7f68aa68ae
commit 6a06a0f5af
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ Before, you had to use string literals to refer to definitions, which is brittle
A nameof expression has this form:
```cpp
std::cout << NAMEOF(person.Address.zip_code) << std::endl; // prints "zip_code"
std::cout << NAMEOF(person.address.zip_code) << std::endl; // prints "zip_code"
```
## Features