Results 1 to 2 of 2

Thread: auto_ptr is deprecated

  1. #1
    Rubix is offline Registered User
    Name: Neil Roza
    Organization: Passport Systems, Inc.
    Project: data acquisition, control software
    Join Date
    Mar 2011
    Posts
    5

    auto_ptr is deprecated

    Ice 3.4.1; gcc 4.4.5; linux 2.6.35

    Are there any plans to remove the deprecated std::auto_ptr from Ice?

  2. #2
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    Given that auto_ptr will only be deprecated in the upcoming C++0x standard (it's not a final standard yet -- only a draft standard), and that the vast majority of our customer use compilers that do not implement this new standard yet, we will probably not remove it until nobody uses pre-C++0x compilers anymore (which will probably take many years).

    We will eventually add conditional code that uses unique_ptr instead of auto_ptr (along with other C++0x features), but at present, this is not high on our list of priorities.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Ice 3.4 Cpp RWRecMutex Class Deprecated
    By motta in forum Help Center
    Replies: 2
    Last Post: 03-12-2010, 05:39 AM
  2. Replies: 1
    Last Post: 01-28-2009, 06:15 AM
  3. Compiler flag -xarch deprecated in Sun Studio 12
    By Markus Bernhard in forum Help Center
    Replies: 0
    Last Post: 06-05-2007, 08:29 PM
  4. identitytostring deprecated
    By shimrod in forum Help Center
    Replies: 2
    Last Post: 05-04-2007, 04:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •