On 31/01/11 04:38, Eric Niebler wrote:
This is a judgment call that only you, as library author, can make. If
doing the checking early imposes too high a compile-time requirement,
then it may make sense to delay it until it's less expensive to do, and
accept worse error messages.


*nods*
But at least, I am not doing something completely stupid at this level.
You might also consider a "debugging mode" controlled with a compiler
switch, where things are checked up-front. Just a suggestion.

I was thinking of this too, and add some NT2_COMPILE_TIME_DEBUG mode.



_______________________________________________
proto mailing list
proto@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/proto

Reply via email to