This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: fix PR python/11145


> From: Tom Tromey <tromey@redhat.com>
> Date: Fri, 20 Aug 2010 16:41:40 -0600
> 
> PR python/11145 asks for the addition of C++-style cast operators to
> gdb.Value.
> 
> I think this is a basically reasonable request, but really only
> reinterpret_cast and dynamic_cast are needed -- static_cast and
> const_cast are, I think, already well-handled by Value.cast.

Thanks.

> +@defmethod Value dynamic_cast type
> +Like @code{Value.cast}, but works as if the C++ @code{dynamic_cast}
                                               ^^^
We use "C@t{++}" throughout the manual.  It looks better in print.

Okay with that change (in several places in your patch).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]