diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-05 15:19:04 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-05 15:19:04 +0100 |
| commit | 8d0530cb8f43117654df629686f19ecbadb741eb (patch) | |
| tree | 69b7303ce9190c774a5484140c81c00cb367d6c9 | |
| parent | f7bd2511ef320f5f8fd672364614f6e6275b318e (diff) | |
[CHORE] Update ReadMe and TProc module.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
| -rw-r--r-- | README.md | 19 | ||||
| m--------- | libs/tproc | 0 |
2 files changed, 19 insertions, 0 deletions
@@ -8,6 +8,25 @@ Modules include, a `core` library containing algorithms and containers for C++20 These libraries were built on top of the Boost C++ libraries and C++ SL. +## Using OCL: + +This is taken from the FIX module, and will be used here as an example of usage of the OCL. + +```cpp +int main(int argc, char** argv) +{ + ocl::fix::visitor basic_visitor; + ocl::fix::range_buffer fix = basic_visitor.visit(default_fix); + + ocl::io::enable_stdio_sync(false); + + ocl::io::print(":key=35\n"); + ocl::io::print(":value=", fix["35"], "\n"); +} +``` + +The OCL are mostly headers only (except OCL.FIX as of 2026), so no compilation step is needed. And is C++17 or later. + ## Community: Join us in our [Discord](https://discord.gg/uD76Qweght) we're quite active and open for contributors! diff --git a/libs/tproc b/libs/tproc -Subproject fd7d880196db79f4cba69aa36438aa9213ddd91 +Subproject 04548b4affdc3f4aeae3fc7698d7e01ece9b02c |
