On 2020-01-30 6:35 AM, Charles Mills wrote:
I suppose if someone REALLY wanted to be a C++ pedant,

myStruct *opts_char = reinterpret_cast<myStruct *>(reinterpret_cast<void 
*>(opts));

haha! that's what I would code but in reality a reinterpret_cast is a raw cast so it doesn't matter. It's a style thing
so you can find casts using an IDE.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to