Splitting implementation and interface in C++
Splitting implementation and interface in C++
Posted Feb 26, 2025 13:13 UTC (Wed) by Wol (subscriber, #4433)In reply to: Splitting implementation and interface in C++ by farnz
Parent article: Rewriting essential Linux packages in Rust
> Because these are all shipped together, it's OK to rearrange where the various checks live;
But if you've explicitly declared an interface, surely that means rearranging the checks across the interface is unsafe in and of itself, so the compiler won't do it ...
Cheers,
Wol
