Skip to content

Remove/replace outdated C++ constructs #217

@wperkins

Description

@wperkins

GridPACK C++ code is aging. Some C++ constructs that were acceptable when coding began have been deprecated and not supported by some newer compilers. I have trouble building GridPACK with CLang 16 and 18, which strictly follow C++17. Some things that need to change:

  • use of std::auto_ptr should be replaced with std::unique_ptr
  • use of std::unary_function and std::binary_function is not needed

In addition, it might be appropriate to migrate code away from Boost for those constructs that are now standard, e.g. shared_ptr.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions