I woudl appreciate assistance/guidance from anyone with knowledge of the use of STL maps on VxWorks v6.8.
The two methods described use copy construction. Thsi may be teh problem for VxWorks, e.g., it may not support copying user defined types. A third method, emplace(), constructs in place but is only available in "C++ 2011".
Also, orrection to two items in original post:
std::map<uint16_t, THE_STRUCT_TYPE>::iterator itBegin = A_MAP.begin;
typedef THE_STRUCT_TYPE
{
char a_char;
uint16_t an_int_array[20];
char a_char_array[10];
uint16_t an_int;
} THE_STRUCT_TYPE