Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[For discussion purpose] - Used unique_ptr instead of auto_ptr when c++11 is used. #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on May 24, 2020

  1. Made luabind use unique_ptr as a functional replacement to auto_ptr w…

    …hen using c++11.
    Yohann Ferreira committed May 24, 2020
    Configuration menu
    Copy the full SHA
    c6cf32b View commit details
    Browse the repository at this point in the history
  2. C++11: replace deprecated std::auto_ptr with std::unique_ptr

    Move instead of copy smart pointers, using std::move.
    
    Add overload to get_pointer() to retrieve raw pointer.
    
    Based on Peter Colberg's patch:
    halmd-org@19d9a14
    Yohann Ferreira committed May 24, 2020
    Configuration menu
    Copy the full SHA
    a9287d3 View commit details
    Browse the repository at this point in the history