I came across this strange looking declaration in some code early this morning (before my cup of black coffee had had a chance to "kick in") ...
IField const* f(0);
That looks a bit unusual to me. Can anyone explain what the variable f is?
It's a pointer 'f' of type IField const (or const IField) that is initialized to 0. Same as for instance: const IField *f = 0;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With