Search:

Type: Posts; User: m37h0d

Search: Search took 0.04 seconds.

  1. Replies
    17
    Views
    7,671

    yes, more or less... what i'm doing is...

    yes, more or less...

    what i'm doing is iterating through a vector of functors, and i'd like to wrap the call to the functor's execution method in a try/catch block, so that any exceptions...
  2. Replies
    17
    Views
    7,671

    so, judging what will and will not be of use to...

    so, judging what will and will not be of use to me based on specious assumptions aside, the whole point of this is that i have, hypothetically, failed somewhere. i'd need to be able to track down...
  3. Replies
    17
    Views
    7,671

    well, clearly you had ideas about how such a...

    well, clearly you had ideas about how such a thing should be used. offering them up would have been nice.

    fwiw, i didn't say logging info about the exception would be all that's done. but in the...
  4. Replies
    17
    Views
    7,671

    that's not helpful.

    that's not helpful.
  5. Replies
    17
    Views
    7,671

    well, my strategy has always been to avoid...

    well, my strategy has always been to avoid exceptions from occurring in the first place, so i have a rather large body of work that does not include any exception handling. however, in the event...
  6. Replies
    17
    Views
    7,671

    i've tried things like: try { ...

    i've tried things like:


    try
    {
    function();
    }
    catch(...)
    {
    handleException();
  7. Replies
    17
    Views
    7,671

    exception handling wrapper functions?

    is it at all possible to do something like:



    template <typename returnType,typename argType>tryFunc(typename (*func)(argType),argType arg)
    {
    try
    {
    func(arg);
    }
Results 1 to 7 of 7