Skip to content

Instantly share code, notes, and snippets.

View andralex's full-sized avatar

Andrei Alexandrescu andralex

View GitHub Profile
import std;
/**
Reified type. Currently stores the plain name (not the mangled name).
*/
struct Id
{
enum Kind : ubyte { _type, _alias };
// state {
Kind kind;
import std;
/**
Reified type. Currently stores the plain name (not the mangled name).
*/
struct Id
{
enum Kind : ubyte { _type, _alias };
// state {
Kind kind;

ref T Function Parameters Accept R-Values

Field Value
DIP: TBA
Review Count: 0
Author: Manu Evans, Walter Bright, Andrei Alexandrescu
Status: Draft

Abstract

import std.traits : isIntegral, isUnsigned, Unqual;
/**
*/
pure @safe nothrow @nogc
{
int pow(int lhs, uint rhs, ref bool overflow)
{ return powImpl(lhs, rhs, overflow); }
/// ditto
long pow(long lhs, uint rhs, ref bool overflow)
$ make -f posix.mak apidocs-release [162.00s lenovo:~/d/dlang.org]
From https://github.com/D-Programming-Language/dmd
* branch HEAD -> FETCH_HEAD
LATEST=2.069.2 <-- place in the command line to skip network traffic.
cd ../dub-0.9.23 && DC="/tmp/.stable_dmd-2.067.1/dmd2/linux/bin64/dmd -conf=/tmp/.stable_dmd-2.067.1/dmd2/linux/bin64/dmd.conf" ./build.sh
Generating version file...
Running /tmp/.stable_dmd-2.067.1/dmd2/linux/bin64/dmd -conf=/tmp/.stable_dmd-2.067.1/dmd2/linux/bin64/dmd.conf...
/tmp/.stable_dmd-2.067.1/dmd2/linux/bin64/../lib64/libphobos2.a(curl.o): In function `_D3std3net4curl4HTTP21_sharedStaticCtor1501FZv':
std/net/curl.d:(.text._D3std3net4curl4HTTP21_sharedStaticCtor1501FZv+0xf): undefined reference to `curl_version_info'
/tmp/.stable_dmd-2.067.1/dmd2/linux/bin64/../lib64/libphobos2.a(curl.o): In function `_D3std3net4curl4Curl21_sharedStaticCt