Clean up #includes.

This commit is contained in:
jzmaddock
2024-04-10 12:28:57 +01:00
parent b4f600e910
commit fbfdda66fd
19 changed files with 89 additions and 15 deletions
+4 -2
View File
@@ -16,8 +16,11 @@
* DESCRIPTION: regex_token_iterator example: spit out linked URL's.
*/
#ifdef TEST_HEADERS
#include <boost/regex.hpp>
#else
import boost.regex;
#endif
#ifdef __cpp_lib_modules
import std;
@@ -28,7 +31,6 @@ import std.core;
#include <iostream>
#include <iterator>
#endif
boost::regex e("<\\s*A\\s+[^>]*href\\s*=\\s*\"([^\"]*)\"",
boost::regex::normal | boost::regex::icase);