|
Boost : |
From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-01-08 09:33:35
> Anyway, I look forward to any feedback you can give,
>
> Thanks in advance,
>
> John Maddock.
>
Just perusing, at first glance:
template<class charT>
bool pattern_match(const charT* ptr, const pattern_type& pat);
Returns the result of pattern_match(ptr, ptr +
pattern_type::traits_type::length(ptr), pat);
That final expression looks like a misuse of traits. What if pattern_type
were const char*? Don't you mean:
traits<pattern_type>::length(ptr)
??
-Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk