This example in our documentation would not compile (#1005)
Co-authored-by: Daniel Lemire <lemire@gmai.com>
This commit is contained in:
parent
0ba76ac066
commit
1fd30db726
|
@ -47,7 +47,7 @@ Inspecting the Detected Implementation
|
||||||
You can check what implementation is running with `active_implementation`:
|
You can check what implementation is running with `active_implementation`:
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
cout << "simdjson v" << #SIMDJSON_VERSION << endl;
|
cout << "simdjson v" << STRINGIFY(SIMDJSON_VERSION) << endl;
|
||||||
cout << "Detected the best implementation for your machine: " << simdjson::active_implementation->name();
|
cout << "Detected the best implementation for your machine: " << simdjson::active_implementation->name();
|
||||||
cout << "(" << simdjson::active_implementation->description() << ")" << endl;
|
cout << "(" << simdjson::active_implementation->description() << ")" << endl;
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue