Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-9507

CRTP Autocompletion: Crash!

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 2.8.0-rc
    • Qt Creator 2.7.1
    • C/C++/Obj-C++ Support
    • None
    • Mac OS X 10.8.3

    Description

      Creator consistently crashes when I try to type this. within B::B(). I was able to implement my logic by turning completion off in Preferences > Text Editor.

      template <typename Derived>
      class A{};
      
      class B : A<B>
      {
      	B()
      	{
      		
      	}
      };
      
      int main(){}
      

      I doubt it matters, but here's my .pro file:

      TARGET = Creator-bug
      TEMPLATE = app
      SOURCES += main.cpp
      

      (By the way, thanks for the tools!)

      Attachments

        Activity

          People

            erikv Erik Verbruggen
            jesdisciple Chris Carter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: