Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2005-07-01 18:40:45


Daniel Wallin wrote:
> Joel de Guzman wrote:
>
>>Hi,
>>
>>I like the idea behind the Interfaces Library:
>> http://www.kangaroologic.com/interfaces/
>>
>>I need one now. I dislike the macro-based Interface
>>Definition Language, however. I find it utterly ugly
>>especially because interfaces should be immediately
>>readable. IMO, the macro-based IDL is not.
>
>
> Have you seen the suggestions for a better macro IDL? For instance:

No.

> BOOST_INTERFACE(
> baz,
> (int, foo, (int))
> (int, bar, (char const*))
> )
>
> IMO that's quite readable.

Indeed. They're ok. Not as pretty as real C++ member functions,
but ok. Is there a prototype?

Cheers,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

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