Boost logo

Boost :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-09-28 12:59:49


On 9/28/05, David Abrahams <dave_at_[hidden]> wrote:

> Hmm... Also, is the apparent dependency on ASCII encoding truly portable?

Doubtful. Wouldn't testing for std::isalnum || '-' || '_' be a better idea?
Perhaps not quite as performant (once the lookup table was made static), but
certainly more portable and simpler to read.

--
Caleb Epstein
caleb dot epstein at gmail dot com

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