This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]