On Thursday, 26 March 2015 at 04:57:55 UTC, ketmar wrote:
by the way. do you know that you still CAN overload
postincrement
operation? yes, the code is still here, and it works...
somethimes. ;-)
Thnaks. Indeed, this works:
---
struct S
{
int i;
immutable(Object) o;
void
I don't know if this is a bug or expected behaviour. The struct
is mutable, assignable and pre-increment operator works. But
post-increment doesn't compile because of the immutable member.
--
struct S
{
int i;
immutable(Object) o;
S opUnary(string op)() { return this; }
void
On Sunday, 15 March 2015 at 18:33:32 UTC, Marc Schütz wrote:
On Sunday, 15 March 2015 at 17:03:42 UTC, Marc Schütz wrote:
https://issues.dlang.org/show_bug.cgi?id=14286
In the meantime, does someone know of a suitable workaround?
I found the following workaround. Not beautiful, but it works:
On Wednesday, 11 March 2015 at 17:19:20 UTC, ketmar wrote:
On Wed, 11 Mar 2015 18:17:38 +0100, Artur Skawina via
Digitalmars-d-learn
wrote:
On 03/11/15 15:41, ketmar via Digitalmars-d-learn wrote:
On Wed, 11 Mar 2015 14:36:07 +, wobbles wrote:
On Wednesday, 11 March 2015 at 14:34:32
On Friday, 6 March 2015 at 00:57:16 UTC, Ola Fosheim Grøstad
wrote:
On Thursday, 5 March 2015 at 23:50:28 UTC, Jesse Phillips wrote:
I think I read somewhere you don't want to use unions like
this, but I think it is more because you generally don't want
to reinterpret bits.
It is
On Sunday, 14 December 2014 at 13:47:21 UTC, Suliman wrote:
On Sunday, 14 December 2014 at 13:33:27 UTC, Suliman wrote:
There is also a branch named `develop` which at least
compiles, maybe it is usable.
how to add to dub this branch?
Compiling using dmd...
Linking...
OPTLINK (R) for Win32
On Saturday, 8 November 2014 at 16:01:09 UTC, anonymous wrote:
On Saturday, 8 November 2014 at 12:23:45 UTC, Nicolas Sicard
wrote:
I would like to register a D delegate to a C API that takes a
function pointer as a callback and a void* pointer to pass data
to this callback.
My solution is in
On Thursday, 18 September 2014 at 21:14:55 UTC, Ali Çehreli wrote:
On 09/18/2014 02:06 PM, ddos wrote:
The following code fails because Vec2.length() does not return
int ...
so Variant is only usable with types that do not have a method
with name
length() ?? i'm confused
On Thursday, 18
On Sunday, 20 July 2014 at 15:02:58 UTC, Foo wrote:
On Sunday, 20 July 2014 at 14:55:00 UTC, Foo wrote:
For clarification: how would that work without mixin + string?
I tried this:
mixin template Vala2(uint count, alias arr) {
asm {
sub ESP, count;
mov