> Jonathan M Davis wrote:
> >> Greetings All
> >>
> >> It has been 2 months since we had release 2.052. Just wondering when is
> >> the 2.053 release planned?
> >
> > There isn't really a release schedule. A release kind of just happens
> > when Walter decides that it's time or when someone else
%u:
> how can I use the return values individual?
One of the simpler ways is to think of a tuple as an array, and use
sometuple[0] to take its first item, etc. But your tuple indexes need to be
compile-time constants.
Bye,
bearophile
thanks you all, it works.
last thing, I have this
Tuple!(int,int,int)(1, 2, 3)
how can I use the return values individual?
to be more clear if I rturn tuple(a, b, c) can I write in the code
void main() {
//call the function here
writeln(a);
}
Before you give me a lecture on thread safety, sometimes I have to test code
on-the-fly and __gshared comes in really handy when working with C codebases.
Now, here's something that won't fly:
import std.concurrency;
class Foo { }
__gshared Foo foo;
void main()
{
foo = new Foo();
On 2011-04-20 22:05, Sean Cavanaugh wrote:
I am working on a template class to provide function wrappers for COM
based objects, so the calling code doesn't have to dereference the
underlying pointer. In C++ we get this behavior for 'free' by
overloading operator->. In D I can create a fairly funk
I am working on a template class to provide function wrappers for COM
based objects, so the calling code doesn't have to dereference the
underlying pointer. In C++ we get this behavior for 'free' by
overloading operator->. In D I can create a fairly funky mixin template
to inspect the contain
Jonathan M Davis wrote:
Greetings All
It has been 2 months since we had release 2.052. Just wondering when is the
2.053 release planned?
There isn't really a release schedule. A release kind of just happens when
Walter decides that it's time or when someone else on the dev team (like Don)
> Greetings All
>
> It has been 2 months since we had release 2.052. Just wondering when is the
> 2.053 release planned?
There isn't really a release schedule. A release kind of just happens when
Walter decides that it's time or when someone else on the dev team (like Don)
pushes for one.
Give
On Wed, 20 Apr 2011 14:39:32 -0400, Mandeep wrote:
Hi,
I am not sure if this is the correct forum but i could not find a better
one.
Just wanted to understand the process for putting a new project on
dsource.
How do i create it and how do i upload some code there.
See www.dsource.org, c
Hi,
I am not sure if this is the correct forum but i could not find a better one.
Just wanted to understand the process for putting a new project on dsource.
How do i create it and how do i upload some code there.
Also, what license do i write on the files if i have ported some code from
other pl
http://d.puremagic.com/issues/show_bug.cgi?id=5866
d coder:
> It has been 2 months since we had release 2.052. Just wondering when is the
> 2.053 release planned?
Walter & Co seem to have shifted gear and he's currently cranking bugs like
peanuts, please let him go on a little more :-) This Git thing seems to start
to give its fruits. There is
Greetings All
It has been 2 months since we had release 2.052. Just wondering when is the
2.053 release planned?
Also, is there an automated way to create a snapshot release from the git
repositories?
Regards
- Puneet
Hello,
For what it's worth, I have finally found one use case for the famous "alias
this" trick for structs:
struct ScienceConstant {
float value;
string name;
alias value this;
string toString () { return this.name; }
}
unittest {
auto PI = ScienceConstant(3.14, "pi");
On 2011-04-20 08:19, Mike Linford wrote:
How up to date is http://digitalmars.com/d/2.0/features2.html ? If it's old,
what differences can people think of off the tops of their heads that are not
listed?
There's a lot of missing on the page.
* opDispatch
* alias this
* constructors/destructo
15 matches
Mail list logo