|
Boost : |
From: Mark Rodgers (mark.rodgers_at_[hidden])
Date: 2002-12-07 17:03:40
From: "David Abrahams" <dave_at_[hidden]>
> "John Maddock" <jm_at_[hidden]> writes:
>
> >> If this fails to compile, we may need to add a dummy "return 0;" at
> >> the end. I know of two compilers which act this way: Metrowerks and
> >> HP.
> >
> > What do you want to call it?
>
> I'm not happy with it, but...
>
> BOOST_NO_NON_RETURN_PATH_COMPREHENSION is the best I could come up
> with :(
What about having
BOOST_UNREACHABLE_RETURN(0)
or
BOOST_UNREACHABLE_RETURN("")
I think we need to "return" values for types other than int.
Mark
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk