Boost logo

Boost :

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
> matrix
> > > representations (e.g. abc::mat4x4 and def::mat4x4). Then we'd have
> two
> > > 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.

[snip]

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.

___
Rob

(Sent from my portable computation engine)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk