Skip to content

Commit c84cfb2

Browse files
committed
improve README.md
1 parent e56f55e commit c84cfb2

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ or
185185
git submodule add https://github.com/philip82148/cpp-dump
186186
```
187187

188-
then
188+
Then
189189

190190
```cpp
191191
#include "path/to/cpp-dump/dump.hpp"
@@ -451,6 +451,18 @@ int main() {
451451
}
452452
```
453453

454+
Then
455+
456+
```shell
457+
g++ ./main.cpp -D DEFINED_ONLY_IN_LOCAL
458+
```
459+
460+
or
461+
462+
```shell
463+
clang++ ./main.cpp -D DEFINED_ONLY_IN_LOCAL
464+
```
465+
454466
## Supported types
455467

456468
Both dump functions dump variables recursively, so they can dump nested variables of any combination of types in the table below.

0 commit comments

Comments
 (0)