On Monday, August 22, 2011 15:57 Timon Gehr wrote:
> On 08/22/2011 10:19 PM, Don wrote:
> > Timon Gehr wrote:
> >> On 08/21/2011 09:10 PM, Don wrote:
> >>> bearophile wrote:
> Sean Eskapp:
> > Oh, I see, thanks! This isn't documented in the function
> > documentation!
>
> D
On 08/22/2011 10:19 PM, Don wrote:
Timon Gehr wrote:
On 08/21/2011 09:10 PM, Don wrote:
bearophile wrote:
Sean Eskapp:
Oh, I see, thanks! This isn't documented in the function
documentation!
D purity implementation looks like a simple thing, but it's not
simple, it has several parts that i
On Mon, 22 Aug 2011 22:19:50 +0200, Don wrote:
BTW: The whole "weak pure"/"strong pure" naming was just something I
came up with, to convince Walter to relax the purity rules. I'd rather
those names disappeared, they aren't very helpful.
The concepts are useful, but better names might be w
Timon Gehr wrote:
On 08/21/2011 09:10 PM, Don wrote:
bearophile wrote:
Sean Eskapp:
Oh, I see, thanks! This isn't documented in the function documentation!
D purity implementation looks like a simple thing, but it's not
simple, it has several parts that in the last months have be added to
t
Usually this calls for a a build system, e.g. a build script or
something, that you use for specific projects which require GtkD or
something else.
For example (I'm assuming you're on win32), you could have this batch
file (build.bat):
http://codepad.org/vt0TskPy
And you could invoke it via "buil
On 08/22/2011 04:16 AM, Andrej Mitrovic wrote:
void foo(T)(T t) if(is(X == struct)) { }
void main()
{
foo(4);
}
This prints out:
test.d(9): Error: template test.foo(T) if (is(X == struct)) does not
match any function template declaration
test.d(9): Error: template test.foo(T) if (is(X ==
Is there a way to only link against it when it's needed automatically? I was
hoping dmd would do that automatically.
But you're right, it now spits out a 144 kb executable
2011/8/22 Andrej Mitrovic
> You are explicitly linking to GtkD.lib and win32.lib, that's what's
> causing the increase in siz
You are explicitly linking to GtkD.lib and win32.lib, that's what's
causing the increase in size.
I'm thinking this is a compiler bug as I have reviewed my programs and
nearly all of them are 1.7 mb so it includes parts of something in my flags
while not needed
2011/8/20 maarten van damme
> hello.d first only used part from druntime, thats when it compiled to 144
> kb. If I follow the same p
wow, that site looks way nicer. Too bad google doesn't take it as first
result.
and the documentation is indeed much better :)
2011/8/22 Mike Parker
> On 8/21/2011 8:32 PM, maarten van damme wrote:
>
>>
>> It would be great to also have a link to the full phobos documentation
>> generated with c
On Sat, 20 Aug 2011 20:23:44 -0400, Jonathan M Davis
wrote:
On Saturday, August 20, 2011 16:50:32 Sean Eskapp wrote:
Since the compiler can clearly tell when a function is not const, safe,
pure, or nothrow, why can't they just be assumed, unless proven
otherwise?
As of 2.054, @safe, pure
On Sat, 20 Aug 2011 12:43:29 -0400, Timon Gehr wrote:
On 08/20/2011 06:24 PM, Sean Eskapp wrote:
== Quote from David Nadlinger (s...@klickverbot.at)'s article
On 8/20/11 5:13 PM, Sean Eskapp wrote:
Does marking a member function as pure mean that it will return the
same
result given the sam
12 matches
Mail list logo