digitalmars.D.learn - List of Dynamic Arrays
- Justin Choi (5/5) Jun 17 2021 If I wanted to create a DList (or any similar data structure) of
- Adam D Ruppe (2/3) Jun 17 2021 DList!(int[])() ?
- Justin Choi (3/6) Jun 17 2021 Thanks I've mentally slapped myself a hundred times for this
- =?UTF-8?Q?Ali_=c3=87ehreli?= (4/6) Jun 17 2021 Also, unless DList is really needed, why not:
If I wanted to create a DList (or any similar data structure) of multiple integers, how would I accomplish this? I want to write something like `DList!int[]()` but the best I can do for now is a format such as `DList!(Tuple(int, int))()` which confines me to a fixed number of integers.
Jun 17 2021
On Thursday, 17 June 2021 at 15:57:46 UTC, Justin Choi wrote:I want to write something like `DList!int[]()`DList!(int[])() ?
Jun 17 2021
On Thursday, 17 June 2021 at 15:58:40 UTC, Adam D Ruppe wrote:On Thursday, 17 June 2021 at 15:57:46 UTC, Justin Choi wrote:Thanks I've mentally slapped myself a hundred times for this mistake :DI want to write something like `DList!int[]()`DList!(int[])() ?
Jun 17 2021
On 6/17/21 9:10 AM, Justin Choi wrote:Also, unless DList is really needed, why not: int[][] AliDList!(int[])() ?Thanks I've mentally slapped myself a hundred times for this mistake :D
Jun 17 2021