Clay Smith Wrote:
> jicman wrote:
> > Greetings.
> >
> > Will someone point me to a reliable xml handling library? I went to
> > dsource and all the XML based projects are all dead. I am sure that Mango
> > has a nice one, but I am using phobos. :-(
> >
> > Any suggestions?
> >
> > thanks,
jicman wrote:
Greetings.
Will someone point me to a reliable xml handling library? I went to dsource
and all the XML based projects are all dead. I am sure that Mango has a nice
one, but I am using phobos. :-(
Any suggestions?
thanks,
josé
Use the dsource.
http://www.dsource.org/projec
Sergey Kovrov wrote:
On 3/9/2009 8:50 PM, Chris Nicholson-Sauls wrote:
While not strictly intuitive, you could do this:
auto var = Rebindable!(const Foo)(new Foo);
assert(var.opDot !is null);
As 'opDot' returns the wrapped object (with const intact). The downside
to that, however, is that it wo
Steven Schveighoffer Wrote:
> On Mon, 09 Mar 2009 17:55:48 -0400, jicman wrote:
>
> >
> > Greetings and salutations...
> >
> > I am corrently trying to get my co. to see the goodness of D. So, we
> > have a huge project, which is already live and 5 co-workers are using,
> > which is all base
Christopher Wright wrote:
Georg Wrede wrote:
When creating templates, it is sometimes handy to print the type of
something. Is there a trivial way to print it?
writeln("Typeof T is: ", typeof(t));
This doesn't work, but you get the idea.
For a class or interface:
writeln("Typeof T is: "
On Mon, 09 Mar 2009 17:55:48 -0400, jicman wrote:
Greetings and salutations...
I am corrently trying to get my co. to see the goodness of D. So, we
have a huge project, which is already live and 5 co-workers are using,
which is all based on D1, if I may call it that. The project also use
Georg Wrede wrote:
When creating templates, it is sometimes handy to print the type of
something. Is there a trivial way to print it?
writeln("Typeof T is: ", typeof(t));
This doesn't work, but you get the idea.
For a class or interface:
writeln("Typeof T is: ", t.classinfo.name);
Greetings and salutations...
I am corrently trying to get my co. to see the goodness of D. So, we have a
huge project, which is already live and 5 co-workers are using, which is all
based on D1, if I may call it that. The project also uses DFL, dbi (v.62) and
juno (v.0.3.5.5), plus other lib
On 3/9/2009 8:50 PM, Chris Nicholson-Sauls wrote:
While not strictly intuitive, you could do this:
auto var = Rebindable!(const Foo)(new Foo);
assert(var.opDot !is null);
As 'opDot' returns the wrapped object (with const intact). The downside
to that, however, is that it won't work in those case
Robert Fraser Wrote:
> jicman wrote:
> > Greetings.
> >
> > Will someone point me to a reliable xml handling library? I went to
> > dsource and all the XML based projects are all dead. I am sure that Mango
> > has a nice one, but I am using phobos. :-(
> >
> > Any suggestions?
> >
> > thank
Brian Wrote:
> On Wed, 04 Mar 2009 19:59:47 -0500, jicman wrote:
>
> > Greetings.
> >
> > Will someone point me to a reliable xml handling library? I went to
> > dsource and all the XML based projects are all dead. I am sure that
> > Mango has a nice one, but I am using phobos. :-(
> >
> > An
bearophile wrote:
Georg Wrede:
When creating templates, it is sometimes handy to print the type of
something. Is there a trivial way to print it?
writeln("Typeof T is: ", typeid(typeof(t)));
(Try alternatives of that with a dynamic type, like a class).
Thanks!!!
class A { }
class
Sergey Kovrov wrote:
On 3/6/2009 11:29 PM, Steven Schveighoffer wrote:
std.typecons.Rebindable
http://www.digitalmars.com/d/2.0/phobos/std_typecons.html#Rebindable
Thanks Steve,
this is what I've been looking for, the only thing missing is comparing
against null (is null).
-- serg.
Whi
Georg Wrede:
> When creating templates, it is sometimes handy to print the type of
> something. Is there a trivial way to print it?
writeln("Typeof T is: ", typeid(typeof(t)));
(Try alternatives of that with a dynamic type, like a class).
Bye,
bearophile
Georg Wrede wrote:
When creating templates, it is sometimes handy to print the type of
something. Is there a trivial way to print it?
writeln("Typeof T is: ", typeof(t));
This doesn't work, but you get the idea.
typeof(t).stringof
-Lars
When creating templates, it is sometimes handy to print the type of
something. Is there a trivial way to print it?
writeln("Typeof T is: ", typeof(t));
This doesn't work, but you get the idea.
16 matches
Mail list logo