Re: [sigc] exception_catch seems to be unusable
- From: Martin Schulze <martin-ml hippogriff de>
- To: Philip Langdale <plangdale vmware com>
- Cc: libsigc-list gnome org
- Subject: Re: [sigc] exception_catch seems to be unusable
- Date: Sat, 06 Nov 2004 12:02:41 +0000
Hi!
You are absolutely right - catcher_ needs to be public. This is fixed
in cvs, now. Thanks for reporting the problem! Tell me if you need a
new libsigc++ release.
Regards,
Martin
Am 03.11.2004 01:01:54 schrieb(en) Philip Langdale:
I was trying to use the exception_catch adaptor today and it seems to
be
unusable.
The implementation of visit_each in exception_catch.h access the
catcher_ member of the functor but this is marked protected so
it's not going to work and the gcc errors bear this out.
The fixes are either to make catcher_ a public member or to
make visit_each a friend. I don't see friends used anywhere
else in the code and there's actually a comment in one place
saying that something is public to avoid writing a friend
declaration for a template (as would be the case here too).
So, it seems that catcher_ should be made public.
--phil
_______________________________________________
libsigc-list mailing list
libsigc-list gnome org
http://mail.gnome.org/mailman/listinfo/libsigc-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]