This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("beej.us") { | |
/* body, p, div, textarea { | |
font-family: !important; | |
} */ | |
/* this works: */ | |
/* pre.code { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module forward_ctors; | |
import std.string; | |
import std.typecons; | |
import std.traits; | |
import std.exception; | |
private string stcToString(uint stc) // bug: can't use ParameterStorageClass type | |
{ | |
string[] result; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module forward_ctors; | |
import std.string; | |
import std.typecons; | |
import std.traits; | |
import std.exception; | |
private string stcToString(uint stc) // bug: can't use ParameterStorageClass type | |
{ | |
string[] result; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright: Copyright Andrej Mitrovic 2012- | |
License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0). | |
*/ | |
module inherit_constructors; | |
import std.string; | |
import std.typecons; | |
import std.traits; | |
import std.exception; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The exception module defines all system-level exceptions and provides a | |
* mechanism to alter system-level error handling. | |
* | |
* Copyright: | |
* Copyright (C) 2005-2006 Sean Kelly, Kris Bell. | |
* Some parts copyright (c) 2009-2016 Sociomantic Labs GmbH. | |
* All rights reserved. | |
* | |
* License: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import vibe.vibe; | |
import std.stdio; | |
class Room | |
{ | |
/// id of this room | |
private string id; | |
/// archive of all messages |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doctype html | |
html | |
head | |
title #{id} - WebChat | |
style. | |
textarea, input { width: 100%; } | |
textarea { resize: vertical; } | |
body | |
h1 Room '#{id}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
ERROR: This is a compiler bug. | |
Please report it via https://issues.dlang.org/enter_bug.cgi | |
with, preferably, a reduced, reproducible example and the information below. | |
DustMite (https://github.com/CyberShadow/DustMite/wiki) can help with the reduction. | |
--- | |
DMD %.*s | |
predefs DigitalMars Posix OSX CppRuntime_Clang darwin LittleEndian D_Version2 all D_SIMD D_InlineAsm_X86_64 X86_64 D_LP64 D_PIC assert D_ModuleInfo D_Exceptions D_TypeInfo D_HardFloat D_ObjectiveC | |
binary dmd | |
version v2.085.1-379-gb5ee1cdc8-dirty |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1-gdb-set target-async on | |
2-file-exec-and-symbols "/Users/andrejmitrovic/dev/vstest/vstest" | |
GDB -> App: {"token":1,"outOfBandRecord":[],"resultRecords":{"resultClass":"done","results":[]}} | |
GDB -> App: {"token":2,"outOfBandRecord":[],"resultRecords":{"resultClass":"done","results":[]}} | |
3-break-insert -f "/Users/andrejmitrovic/dev/vstest/source/app.d:16" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template<typename T> | |
int foo(int (*wrapper)(const T* value)) | |
{ | |
return 0; | |
} | |
template<typename T> | |
int bar(int (*wrapper)(const int& value)) | |
{ | |
return 0; |
OlderNewer