Where can find fix length array memory layout document

lili akozhao at tencent.com
Wed Jun 19 05:27:12 UTC 2019


On Tuesday, 18 June 2019 at 17:29:49 UTC, Cym13 wrote:
> On Tuesday, 18 June 2019 at 17:25:42 UTC, Cym13 wrote:
>> On Tuesday, 18 June 2019 at 13:05:03 UTC, lili wrote:
>>> On Tuesday, 18 June 2019 at 12:39:45 UTC, Dennis wrote:
>>>> [...]
>>> Thanks a lot, where is a core.stdcpp.array , How to user it?
>>> I test  but get a error
>>> ```
>>>   auto aa = array!(int, 4); //error
>>> ```
>>
>> Please don't shorten your code or errors to the point where 
>> there's hardly any information left: it's hard to help you if 
>> we can't know what you did and what went wrong.
>
> Forgot to say that it's probably because you don't actually 
> build an array here, try adding parentheses:
>
> ```
>   auto aa = array!(int, 4)();
> ```

array!(int,4)(); compile occurs a error say: no overload matches 
for array



More information about the Digitalmars-d-learn mailing list