diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-12-12 14:58:38 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-12-12 14:58:38 -0800 |
| commit | d02fe9bdae3553660896d14ef24c2b6dc82bb6db (patch) | |
| tree | 6bf02207cb9fba6e247006ef664cf36642730944 /toolsrc/include/vcpkg_System.h | |
| parent | ad42f30904f7631e46c1ba60e671550bb12d7e73 (diff) | |
| download | vcpkg-d02fe9bdae3553660896d14ef24c2b6dc82bb6db.tar.gz vcpkg-d02fe9bdae3553660896d14ef24c2b6dc82bb6db.zip | |
Add System::println(std::string) overloads
Diffstat (limited to 'toolsrc/include/vcpkg_System.h')
| -rw-r--r-- | toolsrc/include/vcpkg_System.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg_System.h b/toolsrc/include/vcpkg_System.h index e059bde0a..ca81235ed 100644 --- a/toolsrc/include/vcpkg_System.h +++ b/toolsrc/include/vcpkg_System.h @@ -39,6 +39,26 @@ namespace vcpkg {namespace System void print(color c, const char* message); void println(color c, const char* message); + inline void print(const std::string& message) + { + return print(message.c_str()); + } + + inline void println(const std::string& message) + { + return println(message.c_str()); + } + + inline void print(color c, const std::string& message) + { + return print(c, message.c_str()); + } + + inline void println(color c, const std::string& message) + { + return println(c, message.c_str()); + } + template <class...Args> void print(const char* messageTemplate, const Args&... messageArgs) { |
