Search

April 28, 2022
Learn »
...it anyway:

---
// use reflection to bypass `private`
alias MonitorInfo = __traits(getMember, arsd.simpledisplay.SimpleWindow, "MonitorInfo...
April 28, 2022
Issues »
...d
import common;
/// main.d
import common;
alias x = myimported!();
import empty;
void main(){}

compile...
April 27, 2022
Learn »
...an alias that (fully) specialize the generic func and take the address using the alias...
April 27, 2022
Learn »
...calling the function?

Example:


```d

auto foo(alias fn, Args...)(auto ref Args args){
    ///return...
April 27, 2022
Learn »
...Bitmap
{
}

struct PushPopBitmap
{
    Bitmap* bitmap;
    Bitmap* old;
    alias bitmap this;

    this(Bitmap* bmp) {
        old = set...
April 27, 2022
Learn »
...import btl.autoptr;
    import btl.vector;

    alias ARRAY = Vector;
    alias RC = RcPtr;

    class Animal {
        void...
April 26, 2022
Learn »
...import std.experimental.allocator.mallocator;
import automem;

alias RC(T) = RefCounted!(T, Mallocator);
// Optional default...
April 26, 2022
General »
...of code:

	struct MultiRet(T...) {
		T values;
		alias values this;
	}
	auto multiRet(T...)(T values...
April 26, 2022
Genel »
...test3.writeln(": ",
  typeof(test3[0].s).stringof);

  alias func = int function();
  auto test4 = funAr.map...
April 25, 2022
Learn »
...Bar {
  Foo!(SPECIAL.yes) foo;
}

alias FooSpecial = Foo!(SPECIAL.yes);
alias FooRegular = Foo!(SPECIAL.no...
226 227 228 229 230 231 232 233 234 235 236
Next ›   Last »