[Bro-Dev] Proposing a new type: opaque
vern at icir.org
Tue Nov 27 22:03:14 PST 2012
> > ... It looks like T would be a yield value.
> I see the similarity to other language elements rather as a consistent
> form of integration. Why would the "T of Y" syntax only pertain to
> container types? Admittedly, we have currently no other uses, but looks
> like a reasonable one to me.
> > opaque<MD5>
> While this looks good to folks familiar with C++ and templates, it looks
> like an exceptional one-off to the Bro language. As you said, it would
> involve tweaking both lexer and parser, and when is a about to happen,
> we should rethink the added value.
Yeah, I agree with Matthias here on both of these points. "opaque of T"
strikes me as reasonable syntax.
More information about the bro-dev