I have a language built-in array and I need to copy its elements to the container library array for some processing. I have tried couple of things but it doesn't seem to work. Is there any way to convert one type to another?
A language built-in array is declared as:
int arr[] = {1,12,343,54,99};
While the library container array is declared as:
std::array<int,4> myarray = {4, 26, 80, 14} ;
std::array is declared under header <array>
.