$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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.