aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/cxx11.cc
AgeCommit message (Collapse)Author
2020-12-28Test empty function detectionJay Berkenbilt
2020-04-10Use more references when iteratingJay Berkenbilt
When possible, use `for (auto&` or `for (auto const&` when iterating using C++-11 style iterators.
2020-02-18libtests/cxx11.cc: fix build with gcc 4.8Fabrice Fontaine
Build fails on gcc 4.8 since version 9.1.1 and commit 752416554086d5d34323bc14164d5084db83cfbd: libtests/cxx11.cc: In function 'void do_regex()': libtests/cxx11.cc:347:42: error: 'strlen' is not a member of 'std' std::cregex_iterator m3(str7, str7 + std::strlen(str7), expr4); ^ To fix the build failure, add missing include on cstring Fixes: - http://autobuild.buildroot.org/results/ad7fb68ae87850a85509eed80fd0cae8721b10c5 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2020-01-13Add std::regex to c++11 feature testsJay Berkenbilt
2019-11-09See if C++11 features workJay Berkenbilt