Boost logo

Boost Users :

From: Tim Michals (tcmichals_at_[hidden])
Date: 2005-05-20 08:47:02


What I'm setting up is a formatting API for logging and want to pass parameters like printf is doing.

"Jonathan Turkanis" <technews_at_[hidden]> wrote in message news:d6fsoa$5c4$1_at_sea.gmane.org...
> Tim Michals wrote:
> > I'm trying to figure out how would you format the IDL function for a
> > general function like printf?
> >
> > For example
> > the function is printf( const char *fmt, ...)
> >
> > How you format the IDL function?
> > BOOST_IDL_FN1(formatMsg, const char *fmt)
>
> Function with variable numbers of arguments, and non-member functions, aren't
> (yet) supported. In fact, supporting functions with variable number of arguments
> never occurred to me. Also, when non-member functions are supported, they will
> have to have at least one parameter type related to the interface being defined.
>
> What's your intended use?
>
> Best,
> Jonathan



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net