This forum has been archived. Please start a new discussion on GitHub.

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?


  • marc
    marc Florida
    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.