Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6020065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:30:50+00:00 2026-05-23T03:30:50+00:00

perhaps, pointers have been on a course of modification regular pointers to auto_ptr to

  • 0

perhaps, pointers have been on a course of modification
regular pointers to auto_ptr to unique_ptr and shared_ptr

I just wanted to know that the new types of pointers that have been developed completely overtake over the older versions(OR the versions of the pointers that you may consider having memory leak problems)

I don’t think regular pointers are dead but recently I came across auto-ptr and then I came to know a bit about shared_ptr and unique_ptr added to C++ox.I can’t use them(shared_ptr and unique_ptr) though because I am having visual C++ 2008.

Also is auto_ptr completely taken over by unique_ptr and shared_ptr?

Please give some insight.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T03:30:50+00:00Added an answer on May 23, 2026 at 3:30 am

    Raw pointers are still useful if you don’t own the object it points at. auto_ptr is officially deprecated (so yes, it’s pretty much dead for new code). VS2008 provides shared_ptr though as part of TR1, and there’s always Boost. I don’t see any need for any other smart pointers in my C++ life right now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read (or perhaps heard from a colleague) that in .NET, TransactionScope can
just looking for some advice, pointers, and suggestions for further reading. I have: 1
Perhaps I am not asking or searching for this correctly: I want to have
Perhaps I am missing something, but I am just learning javascript. My understanding of
I'm perhaps being a bit lazy asking this here, but I'm just getting started
I have been modifying the code here: WhereIsMyMac to try and get a better
I've been writing a networking server for a while now in C++ and have
I've been programming badly for quite a while and I only really just realised.
I have made the decision to use monotouch to develop an application that browses
I've been reading around SO and have come across the following questions which touch

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.