rtti
Problem while checking if function exist in c++
I\'ve found some very interesting c++ code on stackoverflow and I\'m very confused about it because as author says it should work and it fails on my gcc 4.5.1 and 4.4 :([详细]
2023-01-25 05:18 分类:问答Shrinking exe by removing RTTI
In this question (link) it was said that the line below (in each unit) would remove as much RTTI as possible:[详细]
2023-01-22 05:54 分类:问答How can I check an interface property's visibility?
I have started writing web services in Delphi 2010 and am unit testing to make sure they function as planned. My unit tests of the code passed but one web service method didn’t return a value when ca[详细]
2023-01-21 21:12 分类:问答What is the easiest solution for transparent remoting with Delphi?
I have a two tier Delphi for Win32 application with a lot of business logic implemented in a god object I want to outsource into a separate service. This separate service should be accessed by multipl[详细]
2023-01-19 13:36 分类:问答Why is std::type_info polymorphic?
Is there a reason why std::type_info is specified to be polymorphic? The destructor is specified to be virtual (and there\'s a comment to the effect of \"so that it\'s polymorphic\" in The Design and[详细]
2023-01-19 09:58 分类:问答Delphi: At runtime find classes that descend from a given base class?
Is there at way, at runtime, to find all classes that descend from a particular base class? For example, pretend there is a class:[详细]
2023-01-17 09:43 分类:问答Trying to count instances of deriving classes, type_id doesn't work
I want to count all the instances of derivers from my class, I\'m trying to do it like so: .h file: #ifndef _Parant[详细]
2023-01-16 14:51 分类:问答Delphi Rtti: Explore properties of interfaces?
Is there a way to explore a interface\'s properties with Rtti? The following code does not work: procedure ExploreProps;[详细]
2023-01-16 00:59 分类:问答How can I serialize std::type_info using Boost serialization?
I want to record the std::type_info of a variable so that on load I will be able to re-create the appropriate type variable.[详细]
2023-01-15 13:51 分类:问答Polymorphically catching an exception in a -fno-rtti shared library on Mac OS X
I\'m building a shared library with f-no-rtti. Internally, this library throws std:invalid_argument and catches std::exception, but the catch clause is never entered.[详细]
2023-01-14 23:20 分类:问答