kAllowDebugWarnings top-level constant

bool const kAllowDebugWarnings

determines whether certain things where type checking or sanity checks are done should be done or not

a common case is for overriding the [] operator for a class where instead of returning a nullable type, it returns a non-nullable type ensuring that the value is always present and ensures that if there is an error, it 99.8% of the time caused by the bum ass programmer supplying an invalid value (typo, careless mistake)

Implementation

const bool kAllowDebugWarnings = true;