Re: [eigen] docs updates

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]




On Sun, Oct 12, 2008 at 3:33 PM, Benoît Jacob <jacob@xxxxxxxxxxxxxxx> wrote:


Here the standard library is not helping us: the assert() macro (which
ei_assert() calls) does not allow passing a string. So being human-readable
would require to get rid of assert() and implementing our own, but that's not
easy as a good assert() needs to pretty-print the current C++ function name
which relies on nonstandard compiler extensions. We could do it for GCC but
non-GCC users would then see a regression of the niceness of assert messages.


actually you can do:

assert( n<MaxSize && "the specified size is too large " );

gael



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/