abs function question

Gabriel Dos Reis gdr@integrable-solutions.net
Tue Jul 29 04:42:00 GMT 2003


Loren James Rittle <rittle@latour.rsch.comm.mot.com> writes:

| Does the standard say that ``using ::abs'' will not pull an inline
| into the new namespace scope exactly as it would an extern? 

no.

| I'm
| surprised to hear that.  I.e. the following compiles for me with
| mainline:
| 
| inline void a(void) {}
| 
| namespace std { using ::a; }

yes, it should compile fine.

-- Gaby



More information about the Libstdc++ mailing list