Skip to content

Plugin system #599

Description

@an-kumar

Many header-only libraries (for example, cimg) include 'plugin' systems, where people can add functionality to the class. It looks something like this:

class some_class
{
// normal code
#ifdef PLUGIN
#include PLUGIN
#endif
// more code
};

Could we add something like this to this json library? I have some added functions that force me to maintain a version of json.hpp checked into my repo, but this makes it awkward to merge in updates to this repo.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions