On Sun, Aug 29, 2010 at 10:45 AM, Bob Cowdery b...@bobcowdery.plus.comwrote:
Error: static assert function with arguments (VariantN!(maxSize))
occludes successive function
But there is no successive function, its the last statement.
I encountered this one too and it appears to be a
On Sun, Aug 29, 2010 at 10:47 AM, bearophile bearophileh...@lycos.comwrote:
SK:
What is the explanation?
The syntax shown in TDPL can't be supported yet, because the DMD compiler
doesn't yet allow it. It will be added. In the meantime you have to use the
.field[] syntax, or the secret ._0
On Mon, Aug 30, 2010 at 1:21 PM, Stanislav Blinov
stanislav.bli...@gmail.com wrote:
Philippe Sigaud wrote:
static assert( a1.length != 1 || !is( a1.field[0] == Variant ),
Is that so? I thought ParameterTypeTuple and Tuple are different.
You're right, there are different.
From the concurrency chapter, TDPL states that tuple fields are accessed
with the [] operator, as in:
***void* writer() {
*for* (;;) {
*auto* msg = receiveOnly!(Tid, *int*)();
writeln(Secondary thread: , msg[1]);
msg[0].send(thisTid);
}
}
However, for me this code
On Thu, Aug 19, 2010 at 2:46 PM, Jonathan M Davis jmdavisp...@gmail.com wrote:
My first question would be whether you used the same linker for both D and C.
On
Linux, they should both be using gcc. On Windows, they should both be using
dmc.
Still, I would have expected a linking error to