diff --git a/inc/hgl/io/TextOutputStream.h b/inc/hgl/io/TextOutputStream.h index fb6cb26..fad23b9 100644 --- a/inc/hgl/io/TextOutputStream.h +++ b/inc/hgl/io/TextOutputStream.h @@ -78,6 +78,14 @@ namespace hgl return WriteLineEnd(); } + template + bool WriteLine(const N *str) + { + if(!str||!*str)return(false); + + return WriteLine(str,hgl::strlen(str)); + } + template bool WriteLine(const String &str) {