Completly static Laurent's polynomials

matovitch camille.brugel at laposte.net
Mon Jan 27 05:59:59 PST 2014


I just clone phobos so we could agree about the line numbers :

/usr/include/dmd/phobos/std/conv.d(3889): Error: memcpy cannot be 
interpreted at compile time, because it has no available source 
code
/usr/include/dmd/phobos/std/range.d(4769):        called from 
here: emplace(addr, front(this._ranges_field_0))
/usr/include/dmd/phobos/std/algorithm.d(3495):        called from 
here: this._current.front()
/usr/include/dmd/phobos/std/algorithm.d(1435):        called from 
here: this._input.front()
/usr/include/dmd/phobos/std/algorithm.d(1435):        called from 
here: __lambda3(this._input.front())
/usr/include/dmd/phobos/std/algorithm.d(1396):        called from 
here: (FilterResult!(__lambda3, Result) __ctmp1601 = 
FilterResult(Result);
  , __ctmp1601).this(rs)
laurent.d(53):        called from here: 
filter(myCartesianProduct([Tuple(1.00000, 0), Tuple(1.00000, 1)], 
[Tuple(2.00000, 0), Tuple(0.5, 1)]))
laurent.d(51):        called from here: 
map(filter(myCartesianProduct([Tuple(1.00000, 0), Tuple(1.00000, 
1)], [Tuple(2.00000, 0), Tuple(0.5, 1)])))
laurent_test.d(19): Error: template instance 
laurent_test.main.add!(p1, p2) error instantiating


More information about the Digitalmars-d-learn mailing list