Subject: Re: [boost] [qvm] deduce_xx traits wouldn't introduce ODR issues.
From: Rob Stewart (rob.stewart_at_[hidden])
Date: 2015-12-25 07:03:19
On December 25, 2015 1:38:36 AM EST, Adam Wulkiewicz <adam.wulkiewicz_at_[hidden]> wrote:
> > > I think we should clarify this. AFAIU the problem might
> > occur if
> > > there were e.g. two libraries (abc and def) providing their own
> > > representations (e.g. abc::mat4x4 and def::mat4x4). Then we'd have
> > > other libraries (X and Y) both using those two matrix types
> together with
> > > QVM. So both X and Y libraries would have to specialize QVM traits
> > > for abc::mat4x4 and def::mat4x4.
I think, rather than X and Y providing conflicting definitions, the problem is that abc provides a specialization to allow interoperability with def, and def does the same for abc. Using the two libraries, in that case, always creates a conflict.
(Sent from my portable computation engine)