Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README: make the demo code compilable
Before these changes, the example code in README.md would not compile (at least on Fedora 40, gcc 14.1), mainly because of namespace issues. After these changes, copying the demo code from README.md in a file named "readme_demo.cpp" and executing the following commands works reliably: EXAMPLE: # dnf install -y liburing-devel # g++ -Iinclude -std=c++20 -luring -o readme_demo readme_demo.cpp # ./readme_demo Hello world
- Loading branch information