There reason of issue above is spaces before "#".
On Wednesday, 19 July 2017 at 14:23:25 UTC, Jacob Carlborg wrote:
Here's an example:
Thanks... Minus the AliasSeq bit, this is pretty much what I've
been working with since talking to Brain. The main problem I'm
facing is that it fails to compileif any of the symbols in the
imported module
On Thursday, 20 July 2017 at 15:31:55 UTC, WebFreak001 wrote:
On Monday, 17 July 2017 at 08:44:46 UTC, Domain wrote:
Could anyone show me how to debug in vscode with mago-mi?
I have installed vscode with Native Debug, SDLang. I have
tried dlang-vscode and code-d.
[...]
Is the application ac
On Wednesday, 19 July 2017 at 16:00:56 UTC, Piotr Mitana wrote:
Hello, I have this code:
immutable class Base
{
this() {}
}
immutable class Derived : Base {}
void main()
{
new immutable Derived();
}
I'd like class Derived to automatically inherit the default
constructor from
On Thursday, 20 July 2017 at 13:11:56 UTC, Alex wrote:
On Thursday, 20 July 2017 at 12:33:43 UTC, Alex wrote:
The Problem is, i dont know what type WHAT_TYPE is / i don´t
know how to build a loopable something of futures.
Ok, i think i understood now.
my function `load` returns `KpiResponseEn
Ali
Thanks! I opened answer form before you answered me!
Question above do not actual now. Now I have got next problem.
import std.stdio;
import std.regex;
import std.file;
void main()
{
auto text = "#Header
my header text
##SubHeader
my sub header text
###Sub3Header
my sub 3 text
#Header2
my header2 text";
auto
On 07/20/2017 06:39 AM, Suliman wrote:
I have got next code:
import std.stdio;
import std.regex;
import std.file;
void main()
{
auto text = readText("book.txt");
auto inlineCodeBlock = regex("`([^`\n]+)`");
auto bigCodeBlock = regex(r"`{3}[\s\S]*?`{3}");
foreach(t; text.matchA
On Thursday, 20 July 2017 at 15:10:24 UTC, Aldo wrote:
On Thursday, 20 July 2017 at 14:59:50 UTC, Steven Schveighoffer
wrote:
On 7/20/17 10:38 AM, Aldo wrote:
Hello,
im tring to add nothrow keyword in my code, but compilation
fails :
function 'object.opEquals' is not nothrow
its a simple
On Thursday, 20 July 2017 at 15:10:24 UTC, Aldo wrote:
extern(C) nothrow
{
void onMouseClick(GLFWwindow* window, int button, int
action, int d)
{
try
{
// my code
}
catch
{
}
}
}
Tangent but an easy way of nothrowing:
extern(C
On 7/20/17 11:10 AM, Aldo wrote:
On Thursday, 20 July 2017 at 14:59:50 UTC, Steven Schveighoffer wrote:
On 7/20/17 10:38 AM, Aldo wrote:
Hello,
im tring to add nothrow keyword in my code, but compilation fails :
function 'object.opEquals' is not nothrow
its a simple comparison between 2 obj
On Monday, 17 July 2017 at 08:44:46 UTC, Domain wrote:
Could anyone show me how to debug in vscode with mago-mi?
I have installed vscode with Native Debug, SDLang. I have tried
dlang-vscode and code-d.
[...]
Is the application actually being put in bin/app.exe? Also try a
different debugger
On Thursday, 20 July 2017 at 14:59:50 UTC, Steven Schveighoffer
wrote:
On 7/20/17 10:38 AM, Aldo wrote:
Hello,
im tring to add nothrow keyword in my code, but compilation
fails :
function 'object.opEquals' is not nothrow
its a simple comparison between 2 objects. How to make
opEquals noth
On 7/20/17 10:38 AM, Aldo wrote:
Hello,
im tring to add nothrow keyword in my code, but compilation fails :
function 'object.opEquals' is not nothrow
its a simple comparison between 2 objects. How to make opEquals nothrow ?
You can't. Object.opEquals is not nothrow, so object.opEquals is no
On Thursday, 20 July 2017 at 14:38:03 UTC, Aldo wrote:
Hello,
im tring to add nothrow keyword in my code, but compilation
fails :
function 'object.opEquals' is not nothrow
its a simple comparison between 2 objects. How to make opEquals
nothrow ?
thanks
Could you show some code.
Hello,
im tring to add nothrow keyword in my code, but compilation fails
:
function 'object.opEquals' is not nothrow
its a simple comparison between 2 objects. How to make opEquals
nothrow ?
thanks
On Wednesday, 19 July 2017 at 16:00:56 UTC, Piotr Mitana wrote:
Hello, I have this code:
immutable class Base
{
this() {}
}
immutable class Derived : Base {}
void main()
{
new immutable Derived();
}
I'd like class Derived to automatically inherit the default
constructor from
On Wednesday, 19 July 2017 at 16:00:56 UTC, Piotr Mitana wrote:
Hello, I have this code:
immutable class Base
{
this() {}
}
immutable class Derived : Base {}
void main()
{
new immutable Derived();
}
I'd like class Derived to automatically inherit the default
constructor from
I have got next code:
import std.stdio;
import std.regex;
import std.file;
void main()
{
auto text = readText("book.txt");
auto inlineCodeBlock = regex("`([^`\n]+)`");
auto bigCodeBlock = regex(r"`{3}[\s\S]*?`{3}");
foreach(t; text.matchAll(bigCo
On Thursday, 20 July 2017 at 12:33:43 UTC, Alex wrote:
The Problem is, i dont know what type WHAT_TYPE is / i don´t
know how to build a loopable something of futures.
Ok, i think i understood now.
my function `load` returns `KpiResponseEntity`
so
Future!(KpiResponseEntity)[] futures;
seems t
Hi,
i don't even know if the subject makes any sense :)
What i want to achieve is: instead of making:
auto v_a = async( &load , queryA );
auto v_b = async( &load , queryB );
auto v_c = async( &load , queryC );
( async is a function from vibe and returns a "Future" - see
http://vibed.org/api/vi
Hello, all.
Is it possible to pass cli args to rdmd eval-program?
F.e. if I try:
rdmd --eval="args.writeln" -- 123
then: Cannot have both --eval and a program file ('123')
In perl it's possible:
perl -e'print join ",", @ARGV' 123 234
# 123,234
22 matches
Mail list logo