G
Guest
I have a huge struct with many members.I don't want to copy
this struct to the stack, that's why i pass it by reference to
a function. But also i want the function to be unable to modify it.
Something like that in C++:
bool func( const Str& myStr )
{
....
}
this struct to the stack, that's why i pass it by reference to
a function. But also i want the function to be unable to modify it.
Something like that in C++:
bool func( const Str& myStr )
{
....
}