Why I can not use "std::array" by S32DS Vision?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Why I can not use "std::array" by S32DS Vision?

1,367件の閲覧回数
justforfunl
Contributor II

When I write " std::array<unsigned char, 256>"  code by S32DS Vision IDE,  It's will be error "std::array has not been declared", and I check header file, "#include <array>" was writted in the cpp file.

bests

Just

タグ(1)
0 件の賞賛
返信
1 返信

1,259件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

I can normally use std::array - like this:

#include <array>

.

.

void main()

{

   std::array<unsigned char, 256> test;

   if (test.empty()) 

      .... do something...

}

Using S32DS Vision v2.0 (tested in main.cpp for  apex2_add example - A53_Linux target). 

Jiri

0 件の賞賛
返信