|
From: | John W. Eaton |
Subject: | syntax for using function pointers in C++ |
Date: | Wed, 21 Oct 2015 12:11:03 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 |
(*fptr) (...); and sometimes the syntax allowed by C++ fptr (...);is there any consensus on what is the best style? I'd like for us to consistently use one or the other.
Or is there something else we should be doing with modern C++ instead of function pointers (though I'm afraid we may be stuck on this one in many cases because of backward compatibility reasons)?
Other Comments? Preferred bikeshed colors? jwe
[Prev in Thread] | Current Thread | [Next in Thread] |