Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. Equivalent for CPtrList in ATL

Equivalent for CPtrList in ATL

Scheduled Pinned Locked Moved ATL / WTL / STL
c++
6 Posts 4 Posters 0 Views 1 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.
  • E Offline
    E Offline
    Elsie
    wrote on last edited by
    #1

    We want a Pointer list in ATL, similar to CPtrList in C++

    J S W 3 Replies Last reply
    0
    • E Elsie

      We want a Pointer list in ATL, similar to CPtrList in C++

      J Offline
      J Offline
      Jonathan Davies
      wrote on last edited by
      #2

      Don't think there is one as such. What type are the pointers?

      E 1 Reply Last reply
      0
      • E Elsie

        We want a Pointer list in ATL, similar to CPtrList in C++

        S Offline
        S Offline
        Stuart Dootson
        wrote on last edited by
        #3

        Would a standard list of pointers do, i.e. std::list<MyType*>?

        Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

        1 Reply Last reply
        0
        • J Jonathan Davies

          Don't think there is one as such. What type are the pointers?

          E Offline
          E Offline
          Elsie
          wrote on last edited by
          #4

          Thanks! Class Object Pointers, we need to store it an List to track the objects created, We are now using vectors for this purpose

          J 1 Reply Last reply
          0
          • E Elsie

            Thanks! Class Object Pointers, we need to store it an List to track the objects created, We are now using vectors for this purpose

            J Offline
            J Offline
            Jonathan Davies
            wrote on last edited by
            #5

            If as you say you need to store in a List it's probably best to see Stuart's answer, though vector will or course do the job.

            1 Reply Last reply
            0
            • E Elsie

              We want a Pointer list in ATL, similar to CPtrList in C++

              W Offline
              W Offline
              weifirst
              wrote on last edited by
              #6

              CPtrList is not in c++, it is in vc++

              sdfdsfsd

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups