Search

August 28
Issues »
...from anonymous4 <dfj1esp02@sneakemail.com> ---
Maybe something like this?

---
S instance;

lazy xa = instance.x;
---

--
August 28
Issues »
...struct S
{
  int x;
}

S instance;

alias xa = instance.x;

----------------------------

alias m = __traits(getMember, instance...
September 01, 2023
Issues »
...void xa(void) { }

b.c

#include <ctype.h>
int main(void) {
void xa(void);
xa...
September 01, 2016
Learn »
...ptr
auto a = x(*foo);
assert(&a.xa() == null);

Your approach is less desirable because...
September 01, 2016
Learn »
...ref int a) {
	struct A {
		ref int xa() { return a; }
	}
	return A();
}
void main() {
	import...
September 13, 2013
General »
...Editing 2.0' http://youtu.be/eX9m3g5J-XA of course using vim.

You might learn...
August 21, 2013
Issues »
...XChangeProperty((Display*)getApp()->getDisplay(),xid,getApp()->xdndTypes,XA_ATOM,32,PropModeReplace,(unsigned
char*)getApp()->xdndTypeList...
May 26, 2013
General »
...int
void main()
{
    int a;
    X!a xa; // match OK
    long b;
    X!b xb...
December 25, 2012
General »
...xa@(1:_) = 0
topswops' xa@(x:_) = 1 + topswops' reordered
    where
        reordered = reverse (take x xa...
July 02, 2012
Issues »
...s; }

        void g() { assert(fun(s.str) == "xa"); }
    }

    return Result(S("a"));
}

void main() {
    string...
« First   ‹ Prev
1 2
Next ›   Last »