On Friday, 26 September 2014 at 11:16:01 UTC, Mathias LANG wrote:
On Thursday, 25 September 2014 at 23:08:53 UTC, SlomoTheBrave
wrote:
a way around this is not to use anySatisfy nor the template,
for example this works as expected:
[...]
My problem is that in this example, attributes are in
On Friday, 26 September 2014 at 19:59:56 UTC, Freddy wrote:
On Tuesday, 23 September 2014 at 15:19:59 UTC, Andre wrote:
Hi,
I just wonder why "with (auto p = new ...)" is not working.
It would be some syntax sugar in this scenario:
with (auto p = new Panel())
{
On Tuesday, 23 September 2014 at 15:19:59 UTC, Andre wrote:
Hi,
I just wonder why "with (auto p = new ...)" is not working.
It would be some syntax sugar in this scenario:
with (auto p = new Panel())
{
parent = this;
text = "bla";
On Friday, 26 September 2014 at 16:43:30 UTC, Olivier Leduc wrote:
Hello,
I need to use a C++ SDK to create a plugin an existing closed
source c++ application and I would like to know if its possible
to use D for that task.
Would is be possible to port the SDK header files and call the
expo
On Friday, 26 September 2014 at 16:43:30 UTC, Olivier Leduc wrote:
Hello,
I need to use a C++ SDK to create a plugin an existing closed
source c++ application and I would like to know if its possible
to use D for that task.
Would is be possible to port the SDK header files and call the
expo
On Friday, 26 September 2014 at 16:43:30 UTC, Olivier Leduc wrote:
Hello,
I need to use a C++ SDK to create a plugin an existing closed
source c++ application and I would like to know if its possible
to use D for that task.
Would is be possible to port the SDK header files and call the
expo
On 9/26/14 3:24 PM, monarch_dodra wrote:
On Friday, 26 September 2014 at 18:03:40 UTC, Steven Schveighoffer wrote:
On 9/25/14 6:03 PM, Sean Kelly wrote:
On Thursday, 25 September 2014 at 21:43:53 UTC, monarch_dodra wrote:
On Thursday, 25 September 2014 at 20:58:29 UTC, Gary Willoughby wrote:
On Friday, 26 September 2014 at 18:03:40 UTC, Steven
Schveighoffer wrote:
On 9/25/14 6:03 PM, Sean Kelly wrote:
On Thursday, 25 September 2014 at 21:43:53 UTC, monarch_dodra
wrote:
On Thursday, 25 September 2014 at 20:58:29 UTC, Gary
Willoughby wrote:
What does BlkAttr.FINALIZE do when used in
On 9/26/14 1:36 PM, "Marc =?UTF-8?B?U2Now7x0eiI=?= "
wrote:
Alternatively, you could create a union with a private and a public
member with the same types, but I wouldn't recommend it. Besides, the
members would need to have different names:
class Foo {
union {
priva
On Friday, 26 September 2014 at 17:52:58 UTC, bearophile wrote:
Marc Schütz:
Alternatively, you could create a union with a private and a
public member with the same types, but I wouldn't recommend
it. Besides, the members would need to have different names:
class Foo {
union {
On Fri, Sep 26, 2014 at 02:01:22PM -0400, Steven Schveighoffer via
Digitalmars-d-learn wrote:
> On 9/25/14 8:24 PM, AsmMan wrote:
[...]
> >It made me a bit confusing. How is the implementation of string
> >comparasion in D? (if someone could point to actual code used in
> >these comparasion would
On 9/25/14 6:03 PM, Sean Kelly wrote:
On Thursday, 25 September 2014 at 21:43:53 UTC, monarch_dodra wrote:
On Thursday, 25 September 2014 at 20:58:29 UTC, Gary Willoughby wrote:
What does BlkAttr.FINALIZE do when used in the GC.malloc call?
I have no idea. I think its for classes though, sinc
On 9/25/14 8:24 PM, AsmMan wrote:
On Thursday, 25 September 2014 at 12:43:57 UTC, Steven
Schveighoffer wrote:
On 9/25/14 2:41 AM, SlomoTheBrave wrote:
On Thursday, 25 September 2014 at 05:29:37 UTC, AsmMan wrote:
Does D has C#'s string.Empty?
string.init ?
string a;
a = string.
Marc Schütz:
Alternatively, you could create a union with a private and a
public member with the same types, but I wouldn't recommend it.
Besides, the members would need to have different names:
class Foo {
union {
private int a;
public int b;
}
On Friday, 26 September 2014 at 17:16:04 UTC, AsmMan wrote:
I know I can combine it by making an extra variable plus a
property like this:
class Foo
{
private int a_;
void do_something1()
{
a_ = baa();
}
void do_something2()
{
if(cond) a_ = baa2();
}
@property int a()
On 09/26/2014 10:16 AM, AsmMan wrote:
> I know I can combine it by making an extra variable plus a property like
> this:
That's the proper way of doing it in D.
If it's too much work, it is possible to take advantage of mixins to
reduce the boilerplate. I found the following code among my D sa
On Friday, 26 September 2014 at 17:16:04 UTC, AsmMan wrote:
I know I can combine it by making an extra variable plus a
property like this:
class Foo
{
private int a_;
void do_something1()
{
a_ = baa();
}
void do_something2()
{
if(cond) a_ = baa2();
}
@property int a()
I know I can combine it by making an extra variable plus a
property like this:
class Foo
{
private int a_;
void do_something1()
{
a_ = baa();
}
void do_something2()
{
if(cond) a_ = baa2();
}
@property int a()
{
return a;
}
}
This is the C#'s to do which I'm
On Friday, 26 September 2014 at 15:45:11 UTC, Jacob Carlborg
wrote:
On 2014-09-26 16:24, krzaq wrote:
That would be satisfactory to me, except for the linux-only
part.
In that case, I think I'll simply try to call filename() as
the factory
function in each library - that should work everywh
Thanks guys!
Hello,
I need to use a C++ SDK to create a plugin an existing closed
source c++ application and I would like to know if its possible
to use D for that task.
Would is be possible to port the SDK header files and call the
exposed functions inside the C++ program from a D dynamic library?
Is
On 2014-09-26 16:24, krzaq wrote:
That would be satisfactory to me, except for the linux-only part.
In that case, I think I'll simply try to call filename() as the factory
function in each library - that should work everywhere, right?
Dynamic libraries only work properly on Linux. This has no
On Friday, 26 September 2014 at 14:14:05 UTC, Jacob Carlborg
wrote:
On 26/09/14 14:37, krzaq wrote:
I'd like to extend my program's functionality from plugins,
that'd be
loaded by name (or not) as requested by the config file. Is it
possible
to throw in a few dlls/sos implementing those new mod
On 26/09/14 14:37, krzaq wrote:
I'd like to extend my program's functionality from plugins, that'd be
loaded by name (or not) as requested by the config file. Is it possible
to throw in a few dlls/sos implementing those new modules into a
directory and hope that they will be all loaded and availa
I'd like to extend my program's functionality from plugins,
that'd be loaded by name (or not) as requested by the config
file. Is it possible to throw in a few dlls/sos implementing
those new modules into a directory and hope that they will be all
loaded and available to Object.factory in the m
On Thursday, 25 September 2014 at 23:08:53 UTC, SlomoTheBrave
wrote:
a way around this is not to use anySatisfy nor the template,
for example this works as expected:
[...]
My problem is that in this example, attributes are in the same
order as the parameter. But this come from a code genera
On Friday, 26 September 2014 at 10:36:52 UTC, Ledd wrote:
https://twitter.com/#search?q=%23d_lang
this is the URL for the "Twitter" link in the menu on the left
side of the homepage, it doesn't work, this can be fixed with
https://twitter.com/hashtag/d_lang
or even
https://twitter.com/hasht
https://twitter.com/#search?q=%23d_lang
this is the URL for the "Twitter" link in the menu on the left
side of the homepage, it doesn't work, this can be fixed with
https://twitter.com/hashtag/d_lang
or even
https://twitter.com/hashtag/d_lang?mode=photos
to restrict the search to photos, bu
On Thursday, 25 September 2014 at 23:37:11 UTC, Ali Çehreli wrote:
Surprisingly, that indicates that anySatisfy did instantiate
CmpName with all three string values, meaning that perhaps we
don't have shortcut behavior for 'bool' eponymous templates.
Yes, that's the case (not just for eponymou
29 matches
Mail list logo