From 34449d124d2974d22c961cd138d1fb95cb9445cb Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Mon, 21 Aug 2023 10:20:44 +0200 Subject: [PATCH] system: add sys_string "std::basic_string" is too cumbersome and error-prone for daily use. Signed-off-by: Simon Rozman --- include/stdex/system.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/stdex/system.hpp b/include/stdex/system.hpp index 467d27420..81145f97c 100644 --- a/include/stdex/system.hpp +++ b/include/stdex/system.hpp @@ -16,6 +16,7 @@ #include "sal.hpp" #include #include +#include // In case somebody #included before us and didn't #define NOMINMAX #ifdef _WIN32 @@ -50,6 +51,11 @@ namespace stdex #define _T(x) x #endif + /// + /// String for system functions + /// + using sys_string = std::basic_string; + /// /// Operating system object (file, pipe, anything with an OS handle etc.) ///