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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

730 Views
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

Tags (1)
0 Kudos
1 Reply

622 Views
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 Kudos