Skip to content

Replace UT data structures with C++ STL. #404

@robertnishihara

Description

@robertnishihara

We began switching from C to C++ in #321. Everything now compiles with a C++ compiler, but the code is still written in the style of a C project. Instead of converting everything all at once to the style of a C++ project, things will happen more gradually.

One immediate benefit is that we can now use the C++ standard library. We've been using some macro-based data structures from here https://troydhanson.github.io/uthash/, which have worked quite well, but are much less convenient than the C++ standard library. The conversion from UT_hash and UT_array to the C++ STL is already happening in various places including #324 and #392. However, there are a bunch more places where it needs to happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions