BIND 10 #1551: in-memory datasource allow RRSIG, NSEC, and CNAME at same time
BIND 10 Development
do-not-reply at isc.org
Thu Feb 2 21:24:07 UTC 2012
#1551: in-memory datasource allow RRSIG, NSEC, and CNAME at same time
-------------------------------------+-------------------------------------
Reporter: jreed | Owner: jinmei
Type: | Status: reviewing
defect | Milestone:
Priority: major | Sprint-20120207
Component: data | Resolution:
source | Sensitive: 0
Keywords: | Sub-Project: DNS
Defect Severity: N/A | Estimated Difficulty: 4
Feature Depending on Ticket: | Total Hours: 0.75
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by jinmei):
Replying to [comment:12 vorner]:
> Yes, you're right. This one is probably more to the point. How
unfortunate C++ doesn't support closures.
Boost.Lambda might make it look nicer, and I experimentally tried to
use it in fact, but many versions of it except very recent ones
seemed to have compilation issue (they caused an "unused function
parameter" warning), and I didn't want to weaken the compiler setting
just for that. Besides, it's probably too much anyway to introduce
another template bloat for this simple case.
Anyway,
> I'd like to point out that a functor is maybe a little bit overkill in
this case, a function could be enough. But it probably doesn't matter, so
I'll leave it up to you if you want to change it to a functor.
ah, right. A function is better in terms of conciseness and of the
principle of preferring the least powerful tool that achieves the
goal. I changed it and merged the branch to master.
Now closing.
--
Ticket URL: <https://bind10.isc.org/ticket/1551#comment:13>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list