Skip to content
Prev 24940 / 63424 Next

One for the wish list - var.default etc

On Wed, 9 May 2007, S Ellison wrote:

            
But it does: it gives the method privileged access, in this case to the 
stats namespace, even allowing a user to change the default method
which namespaces to a very large extent protect against.

If var is not generic, we can be sure that all uses within the stats 
namespace and any namespace that imports it are of stats::var.  That is 
not something to give up lightly.
Just as can happen with methods.
The opposite appears to be truer.