Sometimes you have a class that is designed to be inherited, but all the tasks at all times Therefore, in order to make derivative classes more readable and easy to maintain, energetic functions are defined, but empty (rather than pure virtual) are an example from Rancenet
Virtual Zero Underscore Switch Ev (Const char * data, Const Bitsjh_ti bits system, Sistmadder remote system Adecr) {(void) data; (Zero) bits used; (Zero) Remote System Adapter;} In most cases, there are some arguments and level 4 warnings of the function, it warns that the function arguments were not used. I am currently in the above example of Rocket and I am not doing anything with the data. Is the standard / normal way to get rid of the warning? Can this design be completely avoided? Any general ideas / insights / suggestions?
Another method is not the name of the parameters, it shows that any intention of using them in the function Virtual Zero On-DirectSocket Receive (Constite * / * Data * /, Const. Bitsz_T / * bits * /, System Address / * Remote System Updater * /) {}
Comments
Post a Comment