Namespaces
Variants
Views
Actions

Difference between revisions of "Talk:cpp/regex"

From cppreference.com
(r)
Line 12: Line 12:
  
 
: Example code fails to compile with any of the available compilers using "run this code" button as of Jan 9 2014
 
: Example code fails to compile with any of the available compilers using "run this code" button as of Jan 9 2014
 +
 +
:: That is correct; we don't currently have an implementation available for online compilation with sufficient C++11 support. Perhaps we can get libc++ installed (clang++ in 'Run this code' is currently using GNU libstdc++). --[[User:Cubbi|Cubbi]] ([[User talk:Cubbi|talk]]) 07:28, 9 January 2014 (PST)

Revision as of 07:28, 9 January 2014

Can you mention how you built and tested your example code?

I have cut and pasted the example into an IDE and can't build it with the latest g++. I can build it with clang 3.3 but the example doesn't work.Arbalest 17:50, 2 September 2013 (PDT)

GCC does not (yet) implement any of the standard regex functionality. See here. --P12 19:38, 2 September 2013 (PDT)
Was the example code tested? If so, how was it built?Arbalest 20:18, 2 September 2013 (PDT)
I didn't write that example, but it compiles and runs just as described for me using clang++ with libc++ on Linux. --Cubbi 23:30, 2 September 2013 (PDT)
Yeah, I think I added that one, and I've been mostly relying on clang-3.3 with libc++ on a mac. --Nate 07:37, 3 September 2013 (PDT)
Example code fails to compile with any of the available compilers using "run this code" button as of Jan 9 2014
That is correct; we don't currently have an implementation available for online compilation with sufficient C++11 support. Perhaps we can get libc++ installed (clang++ in 'Run this code' is currently using GNU libstdc++). --Cubbi (talk) 07:28, 9 January 2014 (PST)