How I can synchronize changing of array in the functions with
nothrow? Handmade spinlock or something better?
class BraLaException : Exception {
this(string s, string f=__FILE__, size_t l=__LINE__) {
super(s, f, l);
}
override string toString() {
return bar;
}
}
when throwing this exception, I still get the stacktrace and not bar,
is it possible to change that
On 2012-10-20 18:42, David wrote:
class BraLaException : Exception {
this(string s, string f=__FILE__, size_t l=__LINE__) {
super(s, f, l);
}
override string toString() {
return bar;
}
}
when throwing this exception, I still get the stacktrace and not
Hi!I have a little problem with building example.I downloaded
SFML-D working example at this adress
https://github.com/krzat/SFML-D/downloads.But then I tried to
build it myself,I received many errors like that:
Symbol Undefined
Say I have something like this:
class A {
class B {
}
B b;
}
Right now, I have a loop that does something like this (taken
from orange project):
foreach (i, type; typeof(A.tupleof)) {
enum name = A.tupleof[i].stringof[1 + A.stringof.length +
2 ..
I got it working using compiles:
A a = new A;
foreach (i, type; typeof(A.tupleof)) {
enum name = A.tupleof[i].stringof[1 + A.stringof.length +
2 .. $];
static if (__traits(compiles, mixin(A. ~
type.stringof))) {
mixin(a. ~ name) = a.new type;
} else
On Saturday, 20 October 2012 at 20:25:09 UTC, Zhenya wrote:
Hi!I have a little problem with building example.I downloaded
SFML-D working example at this adress
https://github.com/krzat/SFML-D/downloads.But then I tried to
build it myself,I received many errors like that:
Symbol Undefined
On 10/21/12, Tyler Jameson Little beatgam...@gmail.com wrote:
Say I have something like this:
class A {
class B {
}
B b;
}
I can't find a way to figure out if the inner type is static or not.
If it's static you don't need the outer class to instantiate
I hope this isn't a double post, I'm posting from the web ui. I
got this working using __traits(compiles):
A a = new A;
static if (is(A == class)) {
alias TypeTuple!(A, BaseClassesTuple!A) Types;
} else {
alias TypeTuple!A Types;
}
foreach (BT; Types) {
On Sunday, October 21, 2012 05:39:54 Andrej Mitrovic wrote:
On 10/21/12, Tyler Jameson Little beatgam...@gmail.com wrote:
Say I have something like this:
class A {
class B {
}
B b;
}
I can't find a way to figure out if the inner type is static or not.
How about checking
On Sunday, 21 October 2012 at 03:40:15 UTC, Andrej Mitrovic wrote:
On 10/21/12, Tyler Jameson Little beatgam...@gmail.com wrote:
Say I have something like this:
class A {
class B {
}
B b;
}
I can't find a way to figure out if the inner type is static or
On 10/21/12, Jonathan M Davis jmdavisp...@gmx.com wrote:
How about checking whether it has an outer property?
outer could be a user-defined property/enum.
I've been messing around with Deimos lately, and I was a little bit
confused about some of the design.
I saw that a couple (ZeroMQ, ncurses) didn't follow the usual structure
of having a c/ and a deimos/ folder. Is this by design, or is it
something that should be remedied?
Other things I was
13 matches
Mail list logo