Boost logo

Boost :

Subject: [boost] Are there any some utilities that helps to show where a exception is from?
From: Peng Yu (pengyu.ut_at_[hidden])
Date: 2008-10-21 19:05:44


Hi,

If there is an error happens, I want to throw an exception, with the
error string of the following format (similar to what assert would
give).

main.cc:12: int main(): some message

I'm wondering if boost has such facility. I'm a new boost developer, I
want to understand how existing boost libraries take care of runtime
errors?

Thanks,
Peng


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk