Le 21/12/14 19:49, Georg Baum a écrit :
What about getting rid of TR1 support altogether? It was just a stopgap
measure until c++11 was released, right?
I have no strong opinion about this. Currently, I am just playing around
with -std=c++11 flags, learning about subtleties and fixing what is
obviously broken.
Good idea.
Do we rely on it in some cases?
Don't know. Strictly speaking, it is not needed at all, since we have a
boost fallback if c++11 is not fully supported by the compiler. Especially
for regex, we either need MSVC or boost, since neither std not std::tr1
contain match_partial.
I could not make up my mind about why match_partial is needed in
ExternalTransformas.cpp, to be frank.
BTW, both <regex> and <tr1/regex> are completely broken for gcc < 4.9.0:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53631
Indeed, so we will need boost.regex for some time.
For the many other small things that w inherit from boost, using c++11
would be nice. Would it be reasonable to require it?
JMarc