Make first read function templated too like this:
long read()( ubyte* bytes, long len )
On Friday, 20 December 2013 at 08:03:26 UTC, FreeSlave wrote:
Make first read function templated too like this:
long read()( ubyte* bytes, long len )
In fact, there are workarouns. But why the order of the
declarations has an effect on the compilation result.
Namely, if the templated
On 12/20/13, Jacob Carlborg d...@me.com wrote:
You cannot overload a standard function with a template
function, or has that been fixed?
That was fixed in 2.064+
On 12/20/13, kdmult kdm...@ya.ru wrote:
But why the order of the
declarations has an effect on the compilation result.
I think you should file this as a bug.
On Friday, 20 December 2013 at 08:42:34 UTC, Andrej Mitrovic
wrote:
On 12/20/13, kdmult kdm...@ya.ru wrote:
But why the order of the
declarations has an effect on the compilation result.
I think you should file this as a bug.
Done.
https://d.puremagic.com/issues/show_bug.cgi?id=11785
On 2013-12-20 09:42, Andrej Mitrovic wrote:
That was fixed in 2.064+
Cool, finally :)
--
/Jacob Carlborg
On 12/20/13, Jacob Carlborg d...@me.com wrote:
On 2013-12-20 09:42, Andrej Mitrovic wrote:
That was fixed in 2.064+
Cool, finally :)
Yeah, it caused many headaches. Fixed thanks to Kenji, of course (who else?).
On 2013-12-20 15:28, Andrej Mitrovic wrote:
Yeah, it caused many headaches. Fixed thanks to Kenji, of course (who else?).
Yeah, he's doing a lot of good work :)
--
/Jacob Carlborg
Hi,
Why compilation depends on order of method declarations?
The following test case does not compile.
However, if we change the order of the 'read' methods in class
InputStream below then compilation will not fail.
Is it a bug?
---
module test;
import std.traits : isBasicType;
import
On 2013-12-20 08:03, kdmult wrote:
Hi,
Why compilation depends on order of method declarations?
The following test case does not compile.
However, if we change the order of the 'read' methods in class
InputStream below then compilation will not fail.
Is it a bug?
---
module test;
import
10 matches
Mail list logo