Boost logo

Boost :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2008-04-17 15:26:29


Hi Hartmut,

I'm looking at the lexer library, and I must say I'm loving it.
But there's a feature request I would like to make.
Is it possible to allow paramiterization of the ID type.
It is now fixed in std::size_t, and it is possibly a very good default.

But how would one do to parse UTF-32 in a 32 bit machine?

Also, allowing any other type (EqualComparable) would let
people use string types as IDs, making it easier to log a execution,
since you wouldn't have to map enum values to strings.

Thanks,

-- 
Felipe Magno de Almeida

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