Thread: Unique_ptr.h note: declared here

  1. #1
    Registered User
    Join Date
    Jun 2021
    Posts
    31

    Unique_ptr.h note: declared here

    Here is the line of code


    Template<typename> class auto_ptr;


    Here is the error


    Error // Note: declared here


    Does anyone know what this error means or where to start to fix this?

  2. #2
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Post the error message and maybe someone can help you.
    The note: is right after the error message look above it.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Accessing functions of a unique_ptr
    By Jamie_Edwards in forum C++ Programming
    Replies: 5
    Last Post: 04-12-2017, 09:47 AM
  2. Vector of `std::unique_ptr' initialization
    By milli-961227 in forum C++ Programming
    Replies: 4
    Last Post: 07-21-2015, 01:11 PM
  3. Replies: 8
    Last Post: 01-27-2013, 06:38 AM
  4. std::unique_ptr/shared_ptr assignment semantics
    By Elkvis in forum C++ Programming
    Replies: 3
    Last Post: 08-06-2012, 11:25 AM
  5. std::unique_ptr
    By KIBO in forum C++ Programming
    Replies: 4
    Last Post: 12-07-2010, 07:48 AM

Tags for this Thread