Boost logo

Boost Users :

Subject: [Boost-users] Why doesn't boost use empty throws() list?
From: Joseph Garvin (joseph.h.garvin_at_[hidden])
Date: 2009-04-21 16:16:04


For example, all the smart pointer headers have:

// never throws

Next to their definitions, rather than an actual "throws()". I'd guess
this has to do with compiler compatibility, but there are already
plenty of macro hacks for enabling/disabling details like this on a
compiler by compiler basis.

Just curious.


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