From: Marcus Lindblom (macke_at_[hidden])
Date: 2007-08-10 08:19:43
John Maddock wrote:
> Martin Bonner wrote:
>>> Why not in the commit hook?
>> Because "a few are paired disable/enable headers". That seems a
>> reasonable implementation approach to me, and a commit hook would
>> prevent it.
> True, but we can always have a back door for the cases that need it:
> // [no_check_push_pop]
> could disable the check?
Unless there was a reference to the "other file" that contained the
other operation. Then you could check that it matched across files, even
in the commit-hook.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk