Re: Comparison

2013-11-28 Thread Jonas Drewsen
On Wednesday, 27 November 2013 at 00:46:30 UTC, Ary Borenszweig wrote: On 11/26/13 7:00 PM, Namespace wrote: On Tuesday, 26 November 2013 at 21:37:49 UTC, Jonas Drewsen wrote: Isn't it a bug that the assertion is triggered for this: class Test3 {} void main() { assert( (new

Comparison

2013-11-26 Thread Jonas Drewsen
Isn't it a bug that the assertion is triggered for this: class Test3 {} void main() { assert( (new Test3()) == (new Test3()) ); } Tried it on http://dpaste.dzfl.pl/ as well. /Jonas

Re: how to use curl to download a file

2011-11-02 Thread Jonas Drewsen
Den 02-11-2011 17:17, Frédéric Galusik skrev: Le Wed, 02 Nov 2011 15:23:36 +, Graham Fawcett a écrit : On Wed, 02 Nov 2011 11:10:17 -0400, Nick Sabalausky wrote: "Jesse Phillips" wrote in message news:j8rj3c$uc2$1...@digitalmars.com... etc.c.curl is meant for those that know curl and wi

Re: Ranges

2011-03-12 Thread Jonas Drewsen
std.{algoritm,array,ranges} for char[]. Thanks Jonas On 13/03/11 01.05, Jonathan M Davis wrote: On Saturday 12 March 2011 14:02:00 Jonas Drewsen wrote: Hi, I'm working a bit with ranges atm. but there are definitely some things that are not clear to me yet. Can anyone tell me why the

Ranges

2011-03-12 Thread Jonas Drewsen
Hi, I'm working a bit with ranges atm. but there are definitely some things that are not clear to me yet. Can anyone tell me why the char arrays cannot be copied but the int arrays can? import std.stdio; import std.algorithm; void main(string[] args) { // This works int[] a1 = [1,2,3