Skip to content

Consider templatizing the net_entity container in the net_ip class #42

Description

@cliffg-softwarelibre

Currently the container inside the net_ip class is a std::vector, which is a good default. However, some applications may wish to use a different container, or may wish to use statically allocated memory instead of a dynamic sized container (e.g. in a small embedded environment).

The container type could be a template parameter on the class (changing net_ip into a class template instead of a regular class).

This issue is similar to the other Chops Net IP issues where we are providing more flexibility in the container and buffer types.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    design enhancementSoftware design improvement, improving genericity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions