On Mon, Jun 30, 2003 at 04:26:12PM +0200, Lars Gullik Bjønnes wrote: > | +namespace { > | + > | + string tostr(XColor const & col) > | + { > | + return bformat("(%1$s,%2$s,%3$s)", > | + ::tostr(col.red), ::tostr(col.green), > | ::tostr(col.blue)); > > why is the :: usefull?
For some funny reason g++ 3.2 thought there are no functions 'tostr' other than 'tostr(XColor const & col)' available. I am still a bit puzzled why this should be needed. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)