RunTime Type Information

Discussion in 'C++' started by LaBird, Sep 27, 2006.

  1. LaBird

    LaBird Guest

    Dear all,

    I would like to ask, has RTTI (RunTime Type Information) become a language
    standard in C++, or is it still considered as an add-on feature that some
    up-to-date versions of C++ implementations do not provide?
    Thanks!

    Best Regards,
    LaBird (Benny).
    [Email: Please remove all hyphens in the email shown above]
     
    LaBird, Sep 27, 2006
    #1
    1. Advertising

  2. LaBird

    Jerry Coffin Guest

    In article <efd2om$nm6$>,
    says...
    > Dear all,
    >
    > I would like to ask, has RTTI (RunTime Type Information) become a language
    > standard in C++, or is it still considered as an add-on feature that some
    > up-to-date versions of C++ implementations do not provide?


    RTTI is required by the standard.

    --
    Later,
    Jerry.

    The universe is a figment of its own imagination.
     
    Jerry Coffin, Sep 27, 2006
    #2
    1. Advertising

  3. LaBird

    peter koch Guest

    LaBird wrote:
    > Dear all,
    >
    > I would like to ask, has RTTI (RunTime Type Information) become a language
    > standard in C++, or is it still considered as an add-on feature that some
    > up-to-date versions of C++ implementations do not provide?
    > Thanks!


    As Jerry Coffin told you, it is required by the standard. Some
    compilers might not provide it when you compile out-of-the-box. In that
    case you will have to set a switch.

    Kind regards
    Peter
     
    peter koch, Sep 27, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. z. f.
    Replies:
    0
    Views:
    705
    z. f.
    Feb 3, 2005
  2. Replies:
    2
    Views:
    293
  3. Replies:
    0
    Views:
    417
  4. alessio211734
    Replies:
    5
    Views:
    402
    Ruslan Mullakhmetov
    Nov 26, 2010
  5. Jeremy
    Replies:
    1
    Views:
    376
    John Saunders [MVP]
    Jul 18, 2007
Loading...

Share This Page