D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 3596 - Need alias for using std.algorithm.remove
Summary: Need alias for using std.algorithm.remove
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: Other Windows
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-07 08:00 UTC by Haruki Shigemori
Modified: 2015-06-09 05:13 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Haruki Shigemori 2009-12-07 08:00:21 UTC
import std.stdio;
import std.algorithm;

// Need this for compile correctly in dmd 2.037
alias std.algorithm.remove remove;

void main()
{
	int[] a = [1,2,3,4,5];
	writeln( remove!("a < 3")(a) );
}
Comment 1 Walter Bright 2009-12-31 11:21:16 UTC
Fixed dmd 2.038