On 8 Feb 2015 at 19:25, Nevin Liber wrote:
> > > Is it reallistic that folks would want a variant of signals that's not
> > > threadsafe, trading some callback restrictions for performance?
> >
> > I think a version which is compile time switchable is the ideal.
> >
>
> -1.
>
> Unless you can always build everything from source (as opposed to linking
> against libraries built by others), this becomes a nightmare when trying to
> avoid ODR violations.
It would be a very poor implementation that had that problem Nevin.
You may define the preprocessor constant
FUSION_MAX_VECTOR_SIZE
before including any Fusion header to change the default. Example:#define FUSION_MAX_VECTOR_SIZE 20
You'd almost certainly use namespaces or template parameters to make
symbol unique the two implementations.