Container access in std.container
Steven Schveighoffer
schveiguy at yahoo.com
Tue Mar 29 05:59:27 PDT 2011
On Tue, 29 Mar 2011 04:49:41 -0400, Jonathan M Davis <jmdavisProg at gmx.com>
wrote:
> On 2011-03-29 01:38, Ishan Thilina wrote:
>>
>> So how can I declare a redBlackTree..?
> I believe that you'd just do
>
> auto rb = RedBlackTree(4, 1, 2, 3);
I think:
auto rb = RedBlackTree!(int)(4, 1, 2, 3);
But the version in git will be much nicer.
-Steve
More information about the Digitalmars-d-learn
mailing list