Skip to content

Allow multiple policies to be supported #44

Description

@jsipahio

The older version of the dispatcher (list-based) allowed for multiple policies to be passed as template arguments. The current version doesn't break when you do this, but only last policy generates notifications. It may be worth looking at supporting multiple policies again.
Example:

// only notifies for functions
srcDispatcher<ClassPolicy, FunctionPolicy> dispatcher(&saxController);
// only notifies for classes
srcDispatcher<FunctionPolicy, ClassPolicy> dispatcher(&saxController);

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