Is there an C++ casting operator (or combination thereof) equivalent to the old-style cast below:
struct MyStruct {
int i;
int j;
int k;
};
void do_something_with_mystruct( MyStruct ms ) {
...
};
int main( int argc, char** argv ) {
do_something_with_mystruct( (MyStruct){1,2,3} );
};