Sourcecode lang=”cpp” issue

  • Unknown's avatar

    Take a look at this post…

    Using std transform function

    I am applying sourcecode formatting and it screws up my template template declarations. :(

  • Unknown's avatar

    I’ve resolved it by alternating between class and typename keywords. Seems like the formatter is having trouble with code snippets like

    template <class T>
    template <class T>

    If I change it to

    template <class T>
    template <typename T>

    Then it’s ok. Looks to me as if it inserts a closing tag for e.g. <class T></class>.

    Another problem is that cout << “Some string” get changed to cout < < “Some string”;

    Just posted to know if anyone else had these issues.

    But I’ve got to say the formatter is quite good inspite of these issues.

  • The topic ‘Sourcecode lang=”cpp” issue’ is closed to new replies.