[eigen-commits] commit/eigen: bjacob: Throw std::bad_alloc even when exceptions are disabled, by doing new int[size_t(-1)]. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen-commits Archives
]
1 new changeset in eigen:
http://bitbucket.org/eigen/eigen/changeset/626705504d3e/
changeset: 626705504d3e
user: bjacob
date: 2011-10-17 14:44:44
summary: Throw std::bad_alloc even when exceptions are disabled, by doing new int[size_t(-1)].
Don't throw exceptions on aligned_malloc(0) (just because malloc's retval is null doesn't mean error, if size==0).
Remove EIGEN_NO_EXCEPTIONS option, use only compiler standard defines. Either exceptions are enabled or they aren't.
affected #: 3 files (-1 bytes)
Repository URL: https://bitbucket.org/eigen/eigen/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.