On Wed, Dec 14, 2016 at 14:44 +0000, you wrote:
> Would that mean you wouldn't be able to return a bool and check for > errors at the same time? No, it would always return an opaque ("opaque of Broker::Data" in this case). If you used that in a boolean context, it would evaluate to the error flag. If you wanted to get the actual value out of it, you'd cast it accordingly with the new cast operator; and that includes casting to "bool". Robin -- Robin Sommer * ICSI/LBNL * ro...@icir.org * www.icir.org/robin _______________________________________________ bro-dev mailing list bro-dev@bro.org http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev