¡@

Home 

c++ Programming Glossary: rtti

uSTL or STLPort for Android?

http://stackoverflow.com/questions/1650963/ustl-or-stlport-for-android

rebuilt from official sources. Support of C exceptions RTTI and Standard C Library added. c android android ndk share..

How to easily map c++ enums to strings

http://stackoverflow.com/questions/207976/how-to-easily-map-c-enums-to-strings

of converting enum values to user strings and vice versa. RTTI won't do it for me because the 'user strings' need to be a bit..

Do polymorphism or conditionals promote better design?

http://stackoverflow.com/questions/234458/do-polymorphism-or-conditionals-promote-better-design

that. I can understand using polymorphism instead of RTTI or DIY RTTI as the case may be but that seems like such a broad.. I can understand using polymorphism instead of RTTI or DIY RTTI as the case may be but that seems like such a broad statement..

C++ RTTI Viable Examples [closed]

http://stackoverflow.com/questions/238452/c-rtti-viable-examples

RTTI Viable Examples closed I am familiar with C RTTI and find the.. RTTI Viable Examples closed I am familiar with C RTTI and find the concept interesting. Still there exist a lot of.. lot of more ways to abuse it than to use it correctly the RTTI switch dread comes to mind . As a developer I found and used..

What is __gxx_personality_v0 for?

http://stackoverflow.com/questions/329059/what-is-gxx-personality-v0-for

disable them with fno exceptions and if nothing is using RTTI you can also add fno rtti . If you are using them you have to..

What are some of the “best” cross-platform C++ UI toolkits today?

http://stackoverflow.com/questions/366043/what-are-some-of-the-best-cross-platform-c-ui-toolkits-today

but compatible API design no exceptions no templates no RTTI no use of STL . It uses the native widgets. Qt. Modern Framework...

How can I add reflection to a C++ application?

http://stackoverflow.com/questions/41453/how-can-i-add-reflection-to-a-c-application

I realise C supplies some limited information using RTTI. Which additional libraries or other techniques could supply..

C++ equivalent of instanceof

http://stackoverflow.com/questions/500493/c-equivalent-of-instanceof

only a virtual function call. It also works regardless of RTTI is enabled or not. Note that this approach doesn't support multiple..

Why is the linux kernel not implemented in C++? [closed]

http://stackoverflow.com/questions/520068/why-is-the-linux-kernel-not-implemented-in-c

runtime to support things like exception handling and RTTI. This can be hard to provide in an unhosted environment. Compilers..

Understanding the vtable entries

http://stackoverflow.com/questions/5712808/understanding-the-vtable-entries

offset to top needed for multiple inheritence and typeinfo RTTI pointers. From the Itanium ABI you are not using the Itanium.. typeinfo pointer points to the typeinfo object used for RTTI. It is always present. All entries in each of the virtual tables.. isn't of type D . For that it needs to access the object's RTTI and for that it needs to know where the start of the original..

C++ ABI issues list

http://stackoverflow.com/questions/7492180/c-abi-issues-list

So far I've come up with Name mangling Exception handling RTTI Are there any other ABI issues pertaining to C c share improve..

Print variable type in C++

http://stackoverflow.com/questions/81870/print-variable-type-in-c

std cout typeid a .name ' n' You might have to activate RTTI in your compiler options for this to work. Additionally the..

How to typeof in C++

http://stackoverflow.com/questions/1540086/how-to-typeof-in-c

it loads those kinds of objects from a file .so or .dll c rtti typeof typeid share improve this question You could use..

When can typeid return different type_info instances for same type?

http://stackoverflow.com/questions/1819114/when-can-typeid-return-different-type-info-instances-for-same-type

other platforms is also appreciated. c language design rtti typeid compiler design share improve this question Are there..

Creating a new object from dynamic type info

http://stackoverflow.com/questions/2032881/creating-a-new-object-from-dynamic-type-info

use that info to later create new objects of type Foo c rtti share improve this question Clone method There is nothing..

Can I ungarble GCC's RTTI names?

http://stackoverflow.com/questions/2085239/can-i-ungarble-gccs-rtti-names

returned on Windows. Is there an easy way to do this c g rtti name mangling share improve this question If it's what you're..

C++ RTTI Viable Examples [closed]

http://stackoverflow.com/questions/238452/c-rtti-viable-examples

is b std endl else std cout a is NOT b std endl c design rtti share improve this question Acyclic Visitor pdf is a great..

activate RTTI in c++

http://stackoverflow.com/questions/2635123/activate-rtti-in-c

or disabled I am using the aCC compiler on HPUX. c rtti hp ux acc share improve this question Are you using g or.. is enabled by default IIRC and you can disable it with fno rtti . To test whether it is active or not use dynamic_cast or typeid..

How bad is dynamic casting?

http://stackoverflow.com/questions/28080/how-bad-is-dynamic-casting

first answers there that I asked my question c casting rtti dynamic cast share improve this question This recent thread..

Extract C++ template parameters

http://stackoverflow.com/questions/301203/extract-c-template-parameters

though I'm particularly interested in g . c templates rtti share improve this question It's not possible. The usual..

Safely checking the type of a variable

http://stackoverflow.com/questions/311102/safely-checking-the-type-of-a-variable

an exception if handle is NULL or a pointer to a non rtti object or a pointer to a class not convertable to T. template.. T result NULL try result dynamic_cast T base catch __non_rtti_object throw invalid_argument string Error casting non rtti.. throw invalid_argument string Error casting non rtti object to typeid T .name if result throw invalid_argument string..

What is __gxx_personality_v0 for?

http://stackoverflow.com/questions/329059/what-is-gxx-personality-v0-for

and if nothing is using RTTI you can also add fno rtti . If you are using them you have to as other answers already..

dynamic_cast from “void *”

http://stackoverflow.com/questions/4131091/dynamic-cast-from-void

was working on gcc. Can you please clarify the issue. c rtti void pointers dynamic cast share improve this question dynamic_cast..

Why typeid.name() returns weird characters using gcc?

http://stackoverflow.com/questions/4465872/why-typeid-name-returns-weird-characters-using-gcc

a way to make it just print Blah or struct Blah c gcc g rtti share improve this question The return of name is implementation..

C++ equivalent of instanceof

http://stackoverflow.com/questions/500493/c-equivalent-of-instanceof

NewType v doSomething This requires your compiler to have rtti support enabled. EDIT I've had some good comments on this answer..

How expensive is RTTI?

http://stackoverflow.com/questions/579887/how-expensive-is-rtti

it would be to use on a limited system. c performance rtti share improve this question Regardless of compiler you can.. the names are present in the output code even with fno rtti . Either way the change in size of the compiled binary should.. using GCC 4.4.3 on Ubuntu 10.04 64 bit shows that fno rtti actually increases the binary size of a simple test program..

Property like features in C++?

http://stackoverflow.com/questions/6079052/property-like-features-in-c

well it will work and what might break in my C prj it uses rtti templates etc . c share improve this question Reality edit..

Same program faster on Linux than Windows — why?

http://stackoverflow.com/questions/8071851/same-program-faster-on-linux-than-windows-why

to gcc were march pentium m Wall O3 fno exceptions fno rtti i.e. exceptions were disabled . What we see from this data the..

What is `type_info::before` useful for?

http://stackoverflow.com/questions/8682582/what-is-type-infobefore-useful-for

relations or declaring order. So what is it useful for c rtti type info share improve this question Consider you want..