[Issue 12736] New: @nogc std.algorithm.all
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon May 12 01:13:22 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12736
Issue ID: 12736
Summary: @nogc std.algorithm.all
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: Phobos
Assignee: nobody at puremagic.com
Reporter: bearophile_hugs at eml.cc
void main() @nogc {
import std.ascii: isDigit;
import std.algorithm: all;
auto b = "12".all!isDigit;
}
DMD 2.066alpha gives:
temp.d(4,18): Error: @nogc function 'D main' cannot call non- at nogc function
'std.algorithm.all!(isDigit).all!string.all'
--
More information about the Digitalmars-d-bugs
mailing list