introduce string_view

This commit is contained in:
Chunting Gu
2021-06-17 18:58:53 +08:00
parent 751a3539ae
commit 26bb6b341a
38 changed files with 404 additions and 344 deletions
+4 -1
View File
@@ -17,7 +17,10 @@
// Set 1/0 to enable/disable GZIP compression.
#define WEBCC_ENABLE_GZIP 0
// Set 1 to use C++17 filesystem or 0 to use Boost filesystem.
// Set 1 to use std::filesystem or 0 to use boost::filesystem.
#define WEBCC_USE_STD_FILESYSTEM 1
// Set 1 to use std::string_view or 0 to use boost::string_view.
#define WEBCC_USE_STD_STRING_VIEW 1
#endif // WEBCC_CONFIG_H_