Hi!

On Mon, Aug 07, 2006 at 08:43:02AM -0700, Niels Provos wrote:
>I don't think that any of the 3 items precludes use in C++.  At least,
>I have not had any problems using libevent in C++ applications.  That
>said, if you have any patches, that would make it easier to integrate
>libevent with C++ code, fell free to send them.

I use libevent in C++ code without any problems too.

However, I think, it's unclean for libraries to hardcode printing things
to stdout/stderr or calling exit, be it for error handling or other
things. Except maybe for debugging if it can be switched off for normal
use. However, that isn't something specific to C++ projects in my eyes.

I'm relatively ok, however, with configuring those few things using
getenv.

>[...]

Kind regards,

Hannah.
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to