Subject: Re: [proto] Active operator/function generation checking
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2011-01-31 01:17:16
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.
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 list run by eric at boostpro.com