[libstdc++] Transforming a string to a primary sort key

Joseph S. Myers joseph@codesourcery.com
Fri Mar 28 16:42:00 GMT 2014


On Fri, 28 Mar 2014, Tim Shen wrote:

> Hi there, I'm a libstdc++ developer, contributing C++11 <regex> part.
> 
> C++ standard <regex> specifies a function
> `regex_traits::transform_primary()` that takes a string, then converts
> it to a "primary sort key". However, the standard doesn't specify any
> interface to do the actual conversion.

That sounds like strxfrm to me - if it's not, could you explain how it 
differs?

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list