
Sequence-Oriented Programming
CppCast
00:00
How to Use Existing Ranges With Flux
Any C++ 20 contiguous range is automatically usable with Flux just directly without doing anything. So you can take any range and wrap it in the Flux sequence API. It's not ideal because we lose some of the safety guarantees, but it provides ranges compatibility. The other trade off that might be involved here, though, is we're moving to a funly different iteration model.
Transcript
Play full episode