19 Mar
2014
19 Mar
'14
1:04 p.m.
On Wed, Mar 19, 2014 at 01:41:03PM +0100, Oodini wrote:
Thanks for your prompt reply !
The problem is I DO KNOW there will be never overlapping.
That's run-time knowledge that the compiler can't infer or use. Investigate whether it's possible to avoid this behaviour via some policy or if it might be acceptable to have a bogus operator+= defined for your type somewhere where it can be found. If none of those are acceptable, you could always consider patching the library to provide such a policy or trait. -- Lars Viklund | zao@acc.umu.se