On Thu, 13 Sep 2012, Derek Gaston wrote:

On Thu, Sep 13, 2012 at 12:27 PM, Roy Stogner <royst...@ices.utexas.edu> wrote:
 
      Actually, point me to the 2008 thread?  It's possible that I was wrong
      and have since learned the error of my ways.

http://comments.gmane.org/gmane.comp.mathematics.libmesh.devel/620

Huh - it looks like you actually talked me into adding string
messages, but that I wanted to get 0.6.3 out first and then completely
forgot about it.

Adding optional string arguments to the exception classes now would be
a no-brainer, but the trouble is that I don't want to break
compatibility with the existing macros and IIRC standard cpp doesn't
let macros be overloaded by argument number or have optional arguments.

We could just add libmesh_assert_msg(), libmesh_error_msg(), etc.
versions?  The only thing I don't like about that is that the macro
names are getting pretty lengthy... but we need the libmesh_ prefix
since macros can't be namespaced, and we need macros so they'll have
access to __FILE__, __LINE__, etc.
---
Roy
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to