Boost logo

Boost :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-09-17 05:17:47

Jonathan Turkanis wrote:
> Arkadiy Vertleyb wrote:
>>"Joel de Guzman" wrote
>>>Arkadiy Vertleyb wrote:
>>>>Hi All,
>>>>Do you think it makes sense to write a utility that, using a syntax
>>>>like following:
>>>>template<class T, class U>
>>>>class foo /*typeof*/
>>>> . . .
>>I played with this a bit (using Spirit), and the most challenging
>>part seems to be parsing the default parameters, which can be
>>complicated expressions, for example:
>>template<class T, int n = traits<T*>::size + 1> class x{};
>>I don't actually need to parse it, just to skip till the next comma
>>or angle bracket (considering nesting).
> Don't forget comments! ;-)

Why not build it on top of Wave :D? Or even build it as an extended-Wave
that adds the typeof information as part of it's preprocessed output?

- Reece

Boost list run by bdawes at, gregod at, cpdaniel at, john at