Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When will GCC support for C++11 regex_token_iterator? Some of regex seems to be implemented, but the token iterator is not supported yet in my 32-bit Ubuntu/Linaro (version 4.7.2-4precise1) installation.

Any idea when this will be available?

share|improve this question
    
Similar question on SO: Compile std::regex_iterator with gcc And online GNU GCC docs say: no –  gertvdijk Jan 30 '13 at 15:40

1 Answer 1

At the time of writing it's not even implemented in the development versions of GNU GCC as listed here:

This page describes the TR1 support in mainline GCC SVN, not in any particular release.

[...]

7.12.2    Class template regex_token_iterator N    
7.12.2.1  regex_token_iterator constructors   N    
7.12.2.2  regex_token_iterator comparisons    N    
7.12.2.3  regex_token_iterator dereference    N    
7.12.2.4  regex_token_iterator increment      N    

The C++ TR1 standard became part of the C++11 standard later as Wikipedia explains.

So, in my opinion, this is more of a question you should ask on the mailing list of GCC. They may have a good reasons to have this feature a lower priority or to not have it implemented.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.