Boost logo

Boost :

From: John Torjo (john.lists_at_[hidden])
Date: 2003-07-21 03:48:03


> At Sunday 2003-07-20 04:29, you wrote:
> >Hi Peter,
> > >
> > > If a compiler has a current function facility but is not currently
> >supported
> > > by current_function.hpp, if you show '(unknown)' users of this
compiler
> >will
> > > spot the problem and submit a patch, or at least report it to us.
> > >
> > > If not, they may not even realize that the library could have given
them
> >the
> > > name of the current function.
> > >
> > > Let me know if you remain unconvinced. :-)
> > >
> >
> >Yes, I remain unconvinced ;-)
> >This is because some compilers do not provide such a FUNCTION facility.
> >VC6 is one of them. What should I do for it?
>
> don't do anything. VC6 has been replaced. If you want to support every
> compiler back to CFront, you're not going to get a lot done.
>
>

Exactly! Don't do anything! But in order not to do anything, I need to know
whether the compiler support a FUNCTION-like macro or not.

Otherwise, I won't know (and assume it has), and print to the user something
like:

function= '(unknown)'.

Which would you prefer?

Best,
John


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk