Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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  regex_token_iterator constructors   N  regex_token_iterator comparisons    N  regex_token_iterator dereference    N  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


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.