Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] Treatment of corrupt archives - assert vs. exception throw
From: Robert Ramey (ramey_at_[hidden])
Date: 2014-11-12 17:09:16


Speaking from memory, I often use BOTH assert and exception. Sometimes
something looks like a program error which should never happen so I use an
assert. But should this occur during release mode, it should throw an
exception.

So what happens when you build in release mode?

Robert Ramey

--
View this message in context: http://boost.2283326.n4.nabble.com/serialization-Treatment-of-corrupt-archives-assert-vs-exception-throw-tp4669035p4669043.html
Sent from the Boost - Users mailing list archive at Nabble.com.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net