CVSROOT:        /cvs/gnome
Module name:    libsigc++2
Changes by:     murrayc 05/04/30 20:57:55

Modified files:
        .              : ChangeLog 
        sigc++         : type_traits.h 
        sigc++/functors/macros: mem_fun.h.m4 

Log message:
2005-05-01  Murray Cumming <[EMAIL PROTECTED]>

* sigc++/functors/macros/mem_fun.h.m4: bound_*<>:
Add a new is_base_and_derived<sigc::trackable>
parameter to the template and thereby provide a
specialization for T_Obj types that derive from
sigc::trackable. This prevents a crash when casting
from the derived type to sigc::trackable after the
derived destructor has run. This cast can sometimes
fail when using multiple inheritance, at least with
g++. Bug #169225 by Régis Duchesne and Christian
Hammond.
* sigc++/type_traits.h: Add documenation for
the internal is_base_and_derived<> template, which
allows us to specialize other templates for certain
template types.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=libsigc%2B%2B2&who=murrayc&date=explicit&mindate=2005-04-30%2020:56&maxdate=2005-04-30%2020:58

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to