Skip to main content

validity_reason

Function validity_reason 

Source
pub fn validity_reason<G>(geometry: &G) -> &'static str
where G: Geometry, G::Kind: ValidityStrategyForKind, <G::Kind as ValidityStrategyForKind>::S: ValidityStrategy<G>,
Expand description

Return Boost’s human-readable reason for strict validation.

This is the allocation-free Rust counterpart to the string-output overload driven by policies/is_valid/failing_reason_policy.hpp.