Good idea thanks.
> On Mar 27, 2016, at 5:00 PM, fpc-pascal-requ...@lists.freepascal.org wrote:
>
> Depending on your needs, you don't need to descend from TPersistent just
> to get RTTI information in your classes. Simply wrap a TObject
> descendant with {$M+} and deactivate the RTTI after the c
On Sun, 27 Mar 2016, Ryan Joseph wrote:
Great, thanks Michael.
I had another idea. Is it really required to subclass TPersistent for RTTI
information or can I just use {$M+} on the units that I need and leave the
class hierarchy the same?
Using
{$M+}
For classes that need RTTI is suffic
Great, thanks Michael.
I had another idea. Is it really required to subclass TPersistent for RTTI
information or can I just use {$M+} on the units that I need and leave the
class hierarchy the same?
> On Mar 26, 2016, at 6:00 PM, fpc-pascal-requ...@lists.freepascal.org wrote:
>
> On Sat, 26 Ma
On 2016-03-26 04:45, Ryan Joseph wrote:
> unfortunately the way my code is written I need to basically make all
> my classes descend from TPersistent, even classes that don’t need
> RTTI information.
Depending on your needs, you don't need to descend from TPersistent just
to get RTTI information i
On Sat, 26 Mar 2016, Ryan Joseph wrote:
What are all the performance costs associated with subclassing TPersistent
for RTTI information? I want to use this in some classes but
unfortunately the way my code is written I need to basically make all my
classes descend from TPersistent, even class
What are all the performance costs associated with subclassing TPersistent for
RTTI information? I want to use this in some classes but unfortunately the way
my code is written I need to basically make all my classes descend from
TPersistent, even classes that don’t need RTTI information.
I not