On 12/05/2016 at 00:39, xxxxxxxx wrote:
Hello.
I am trying to convert the STL data structures into maxon ones .
I get the following issue:
void anyFunction(BaseLinkArray param){
//do something
}
//in other part of code
BaseLinkArray base_link_array;
anyFunction(base_link_array);
The above code returns:
error C2248: 'maxon::BaseArray<BaseLink *,0x010,BASEARRAYFLAGS_0,maxon::DefaultAllocator>::BaseArray' : cannot access private member declared in class 'maxon::BaseArray<BaseLink *,0x010,BASEARRAYFLAGS_0,maxon::DefaultAllocator>'
The reason why i was avoiding maxon data structures is because i couldn't use them freely as I do with STL ones.
How can I solve the above error ?
Thank you very much for your time.