Skip to content

Function size_sub

function size_sub(size_t, size_t) base

Saturating subtraction for shape sizes.

Parameters
x Left operand.
y Right operand.
Returns
The difference (clamped to zero), or infinite_size if either operand is infinite.

Fully qualified name: kfr::size_sub(size_t, size_t)

Declared at base/shape.hpp:117

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.