runtime_error type advise

Tony Lawrie (freenet) tonl@freenet.co.uk
Tue Oct 7 17:46:00 GMT 2003


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
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20031007/b6eef36d/attachment-0001.sig>


More information about the Gcc-help mailing list