assert(false)

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Thu Jun 20 12:48:38 PDT 2013


Is it considered good/recommended practice to insert an assert(false) statement
in parts of the code that should be unreachable?  Or simply an optional choice
that may be useful for debugging?


More information about the Digitalmars-d-learn mailing list