Le 20 avr. 10 à 18:45, Pavel Sanda a écrit :
chmm, we already have Buffer::absFileName. isn't possible
that something goes wrong in the code like:

Buffer::foo(){
foo2(...FileName(absFileName()....),absFileName(),...)
}

dont remember exact rules but iirc c++ naming lookup was
doing pretty wild actions like pulling in the namespace
of function arguments... so now there could be danger that
in certain constructions FileName::absFileName would be
chosen instead of Buffer::absFileName?

I think it is safe. The only problem I know of is between methods
and functions (i.e. if we had an absFileName function).

JMarc

Reply via email to