Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. error not a type
Forum Updated to NodeBB v4.3 + New Features

error not a type

Scheduled Pinned Locked Moved Unsolved C++ Gurus
3 Posts 2 Posters 1.0k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • QjayQ Offline
    QjayQ Offline
    Qjay
    wrote on last edited by
    #1

    Hello all , i am trying to implement Soft deletion general tree but i am getting following error
    error: 'FHtreeNode' is not a type .

    here is the code : https://ghostbin.com/paste/kbo7k

    Paul ColbyP 1 Reply Last reply
    0
    • QjayQ Qjay

      Hello all , i am trying to implement Soft deletion general tree but i am getting following error
      error: 'FHtreeNode' is not a type .

      here is the code : https://ghostbin.com/paste/kbo7k

      Paul ColbyP Offline
      Paul ColbyP Offline
      Paul Colby
      wrote on last edited by Paul Colby
      #2

      Hi @Qjay

      'FHtreeNode' is not a type

      Well it's true, FHtreeNode is not a type, it's a template. There's a few places (mostly in the second half of your file) where you're not providing a template argument. ie you have things like FHtreeNode where it should be FHtreeNode<...>.

      Cheers.

      PS if you still have trouble, give us the full compiler error, including the line number :)

      1 Reply Last reply
      2
      • QjayQ Offline
        QjayQ Offline
        Qjay
        wrote on last edited by
        #3

        hey , i have pasted the errors here : https://ghostbin.com/paste/4xebg

        i used cpp.sh to compile the above code ( settings : c++11)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved