On Contracts and Safety -- Lucian Radu Teodorescu

Composing safe functions may not be safe. Lucian Radu Teodorescu explores how C++26 contracts help uncover problems. On Contracts and Safety by Lucian Radu Teodorescu From the article: If two operations are safe, is their composition safe too? At first glance, the answer ought to be yes. But a…

dev

Sources