Search:

Type: Posts; User: Sean4u

Search: Search took 0.09 seconds.

  1. Re: Right way to code a static initializer with fatal error?

    Maybe what's causing me the problem today is trying to keep some expanding utility code all in a single class, which means my static code has access to all the static data members and constructors....
  2. Re: Right way to code a static initializer with fatal error?

    That is what I've done at the moment: declare a reference that will hold the return value, set it to null, try to instantiate the object and assign it to the reference if it works, return the...
  3. Re: Right way to code a static initializer with fatal error?

    Just for posterity / discussion, while I'm struggling to read a consensus while searching for views on this elsewhere, I noticed a Sun document I'd never seen before that Oracle says has "completed...
  4. Right way to code a static initializer with fatal error?

    Here's a Small C... I can never remember the rest ... it's an example of something that caught me out just now on another project. I'm initialising a static member with some code that throws...
Results 1 to 4 of 4