Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3657

Show
Ignore:
Timestamp:
06/22/08 00:18:37 (3 months ago)
Author:
kris
Message:

now supports typesafe variadics

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/util/container/more/Stack.d

    r3592 r3657  
    100100        /********************************************************************** 
    101101 
    102                 Push an array of values onto the stack. 
     102                Push a series of values onto the stack. 
    103103 
    104104                Throws an exception when the stack is full 
     
    106106        **********************************************************************/ 
    107107 
    108         void push (V[] value
     108        void pushMore (V[] value...
    109109        { 
    110110                foreach (v; value) 
  • trunk/tango/util/container/more/Vector.d

    r3656 r3657  
    8787        /********************************************************************** 
    8888 
    89                 Add an array of values to the vector. 
     89                Add a series of values to the vector. 
    9090 
    9191                Throws an exception when the vector is full 
     
    9393        **********************************************************************/ 
    9494 
    95         void add (V[] value
     95        void addMore (V[] value...
    9696        { 
    9797                foreach (v; value)