Daniel Keep wrote:
immutable means no one can modify this.
const means someone might be able to modify this, but not you can't.
So?
Basically, what the OP said, is that we need readers-writer locks
[1]. A const synchronized method would use the read lock (and
therefore
Dnia 12-06-2010 o 09:28:58 Jérôme M. Berger jeber...@free.fr napisał(a):
Daniel Keep wrote:
immutable means no one can modify this.
const means someone might be able to modify this, but not you can't.
So?
Basically, what the OP said, is that we need readers-writer locks
Graham
Try giving an absolute path to 'mkdir'. I'm fairly sure that the exec*
family does not use the PATH environment.
I tried the different versions and used execvp precisely because it's
supposed to provide the path. But I admit I never tried giving it an entire
path.
BCS:
That's what
Is there a good way to forward constructor arguments to a superclass
constructor? I.e., if I have
something like this
class Foo {
int _x;
this (int x) { _x = x; }
}
class Bar : Foo {}
I'd like to able to have this just work:
auto bar = new Bar(3);
However, doing this means that DMD