From 8ef500bc0b259cf6a73772148153b759e954297e Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 22 Apr 2022 23:52:29 -0700 Subject: C++11 introduced actual unicode string literals. I'm moving things to take advantage of that. It's pretty cool! --- src/tests/archivetags.cpp | 8 +++++++- src/tests/text.cpp | 9 +++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 src/tests/text.cpp (limited to 'src/tests') diff --git a/src/tests/archivetags.cpp b/src/tests/archivetags.cpp index 5c8e0fa..b9b3603 100644 --- a/src/tests/archivetags.cpp +++ b/src/tests/archivetags.cpp @@ -1,4 +1,4 @@ - +/* class SubThing { public: @@ -70,4 +70,10 @@ Bu::Archive &operator>>( Bu::Archive &ar, Something &st ) ar >> ar.tag("thing") >> st.xThing; return ar; } +*/ + +int main( int argc, char *argv[] ) +{ + return 0; +} diff --git a/src/tests/text.cpp b/src/tests/text.cpp new file mode 100644 index 0000000..0b99e3b --- /dev/null +++ b/src/tests/text.cpp @@ -0,0 +1,9 @@ +#include "bu/text.h" + +int main( int argc, char *argv[] ) +{ + Bu::Text txt(UR"sql(Hello there!""''"")sql"); + + return 0; +} + -- cgit v1.2.3