Search

1 day ago
DIP Ideas »
...auto foo = new Foo;
    A a = foo;

    static assert(is(Foo : A));
}

class A {}

class...
1 day ago
Learn »
...N, fixedArgs...)
{
  static auto bindArgument(A...)(A argsRest)
  if(N <= argsRest.length)
  {
    static if (N...
2 days ago
Announce »
...needed to know about TLS things, the static data segments of each binary.

He said...
2 days ago
Learn »
...int idx, args...)
{
  enum error = "Missing argument!";
  static assert(idx < args.length, error);

  auto partialN...
3 days ago
Issues »
...better documented

  Document fallback casting from struct/static array to struct.
  Add example.
  Also add...
3 days ago
Issues »
...better documented

  Document fallback casting from struct/static array to struct.
  Add example.
  Also add...
3 days ago
Issues »
...first, then for casting from struct or static array, it falls back to reinterpret casts...
3 days ago
General »
...o, string s){}

struct MyDto
{
	struct SerializerAspect
	{
		static void serialize(byte[] o, MyDto s){}
	}
}

void...
3 days ago
Issues »
...https://github.com/dlang/dmd/pull/17102 (static foreach will still get a counter, but...
3 days ago
General »
...import default_serialise;

void main(){
    import std;
    static struct Dummy{
        import default_serialise: serialise;
        import...
1 2 3
Next ›   Last »