it's better to group includes
for example:

#include \<cstdlib\>
#include \<stdexcept\>

#include \<boost/scoped_array.hpp\>