v0.1.12
NexusFIX v0.1.12
C++23 Feature Adoption
Highlights
- 45% overall C++23 adoption rate - 28 features adopted
- Zero performance impact - pure code modernization
C++23 Adoption Summary
| Category | Adopted | Blocked (GCC 14+) | Rate |
|---|---|---|---|
| Language Features | 9 | 1 | 53% |
| Library Features | 19 | 8 | ~42% |
| Total | 28 | 9 | ~45% |
Benchmark Results
| Metric | Before | After | Delta |
|---|---|---|---|
| ExecutionReport Parse (Mean) | 202.66 ns | 199.64 ns | -1.5% |
| NewOrderSingle Parse (Mean) | 200.80 ns | 195.13 ns | -2.8% |
Deltas within noise - confirms zero regression.
What's New
nfx::util::print()/println()- C++23 formatted output with fallbacknfx::util::enumerate()/chunk()/slide()/stride()- Range adaptorsnfx::util::contains()- Range membership testformat_to_string()/build_string()- Zero-init buffer buildingif constevalreplacesis_constant_evaluated()uzsize_t literals for type safety
Upgrade Notes
Fully backward compatible:
nfx::util::println("Price: {}", price);
for (auto [i, val] : nfx::util::enumerate(data)) { ... }Full Changelog: v0.1.11...v0.1.12