clen-up
This commit is contained in:
parent
7f68aa68ae
commit
6a06a0f5af
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue