I've just started playing around with C++ on Kubuntu, and one of the first things I tried is a simple regex...
...and it doesn't work. Apparently g++ the standard library that comes with versions below 4.9 doesn't implement it, and the default version in Trusty is 4.8.2:
Is there a backport I can use to get a newer version of g++? I'm assuming doing so won't affect any other apps because they all come as binaries?
I am vaguely aware that I could use a different library to do this (boost seems popular) but I'd rather learn to use the standard library so I don't have to re-learn later.
...and it doesn't work. Apparently g++ the standard library that comes with versions below 4.9 doesn't implement it, and the default version in Trusty is 4.8.2:
Code:
feathers-mcgraw@Hobbs-T440s:~$ g++ --version g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I am vaguely aware that I could use a different library to do this (boost seems popular) but I'd rather learn to use the standard library so I don't have to re-learn later.
Comment