Thu, 12 Mar 2009 21:19:11 -0400, Sam Hu wrote:
> I know a little that in C there is a # operator which under a macro
> can return any type's value in character format.Just wanna know
> whether there is an equivelent implementation in D1.Say,in C using
> a/m macro can easily output enum's character
Thu, 12 Mar 2009 23:44:40 -0400, Sam Hu wrote:
> Here I found an example form tango.io.Console class Output:
> class Output
> {
> private Buffer buffer;
> private boolredirect;
>
> public alias append opCall;
> public
Fri, 13 Mar 2009 15:04:12 -0400, newbee wrote:
> How does one check for asciiz, utf ...?
> I do get a buffer with characters as parameter in a function, but i
> dont know if it is asciiz or utf or wchar. Is it possible to find
> out in dmd1 and dmd2?
There is some redundancy in UTF-8 format so
Daniel Keep:
> template Range(int n)
If some of you needs a version that takes 1 or 2 or 3 arguments, for the start,
stop and stride, take a look at my dlibs:
http://www.fantascienza.net/leonardo/so/dlibs/templates.html
Bye,
bearophile
Daniel Keep wrote:
You could try the Tango IRC channel:
That, or the Tango forums:
http://dsource.org/projects/tango/forums
You can report problems with Tango via the ticket system:
http://dsource.org/projects/tango/report ("New Ticket" is down the
bottom of the page.)
I tried to register. Bu