On Fri, Aug 28, 2009 at 08:41:43PM +0400, Konstantin Lepa <[email protected]
> wrote:
After fixing your code, it compiles fine on my system, and will
do so
on
freebsd as well.
Because you call method_thunk, but i use method_noargs_thunk. Look:
No, it compiles because I use the _documented_ and _published_ API,
while
you are using something else. The documentation is clear that your
code
uses the wrong prototype.
Well, you are right. But you don't wish to correct an obvious error
in a code. In any case, thanks for spent time.
I have changed the mind. You aren't right. Because "template<class K,
void (K::*method)()>void set (K *object) throw ()" is part of public
interface of struct base. Any watcher inherits the struct. Public
interface of classes is part of documentation for any project. It's C+
+, not C.
Once again thanks.
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev