any g++ option to view the instantiated function from a template post compilation

Discussion in 'C++' started by Varun Tewari, Jan 26, 2013.

  1. Varun Tewari

    Varun Tewari Guest

    Guys,

    Let me know, if you are aware of any such option with g++

    Thank U
     
    Varun Tewari, Jan 26, 2013
    #1
    1. Advertisements

  2. Varun Tewari

    Marc Guest

    Varun Tewari wrote:

    > Let me know, if you are aware of any such option with g++


    Hello,

    try rephrasing your question and giving more details about what you want.
    It is not clear at all...
    (maybe: nm -C file.o)
     
    Marc, Jan 27, 2013
    #2
    1. Advertisements

  3. Marc <> wrote:
    > Varun Tewari wrote:
    >
    >> Let me know, if you are aware of any such option with g++

    >
    > Hello,
    >
    > try rephrasing your question and giving more details about what you want.
    > It is not clear at all...
    > (maybe: nm -C file.o)


    I think he wants to see the template-expanded source code, like you can see
    the macro-expanded source after the preprocessing stage.

    I don't know if this can be done and it's off topic here anyway. Better
    read the g++ documentation.

    Tobi
     
    Tobias Müller, Jan 27, 2013
    #3
    1. Advertisements

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. dwerdna
    Replies:
    8
    Views:
    662
    dwerdna
    Mar 23, 2005
  2. Steven T. Hatton

    A tool to view instantiated templates?

    Steven T. Hatton, Aug 19, 2004, in forum: C++
    Replies:
    2
    Views:
    437
    E. Robert Tisdale
    Aug 19, 2004
  3. Guest
    Replies:
    8
    Views:
    647
    Guest
    Oct 14, 2004
  4. Replies:
    2
    Views:
    951
    Luke Meyers
    Feb 19, 2006
  5. Peng Yu
    Replies:
    3
    Views:
    1,003
    Thomas J. Gritzan
    Oct 26, 2008
  6. Weng Tianxiang
    Replies:
    7
    Views:
    1,625
    Paul Uiterlinden
    Sep 11, 2009
  7. Parthiv Joshi
    Replies:
    1
    Views:
    1,115
    Samuel L Matzen
    Jul 6, 2004
  8. Shriramana Sharma
    Replies:
    4
    Views:
    323
Loading...