This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: runtime_error type advise


Hi Eljay,

Many thanks, it's working sweetly now with <stdexcept> included ---
although I'm still trying to get my head around namespace usage.
Namespace scopes are working now but it seems a little unintuitive to
me. I group them in the header modules, and I've had to append them
(i.e. using "::") in the module implementations as well as declaring
"using" when all I thought I had to do was just declare them with
"using". Then I only had to include "using" in main when I thought it
would be the other way around (only need "using" in module and appending
(i.e. "::") in main file implementation). Never mind, it's working now. 

Many thanks again.

Tony.  

On Tue, 2003-10-07 at 17:23, Eljay Love-Jensen wrote:
> Hi Tony,
> 
> The std::runtime_error definition is in the <stdexcept> header file, not in <exception>.
> 
> HTH,
> --Eljay
> 
> 

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]