From 03ec86bbb554ef922ac40c67d7fbdebba1008797 Mon Sep 17 00:00:00 2001 From: Marius Bancila Date: Tue, 23 Jan 2018 11:11:14 +0200 Subject: [PATCH] to_string/to_wstring examples --- paper.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper.md b/paper.md index f3542fc..0a837de 100644 --- a/paper.md +++ b/paper.md @@ -147,8 +147,8 @@ Non-member functions `to_string()` and `to_wstring()` return a string with the U ``` uuid id("47183823-2574-4bfd-b411-99ed177d3e43"); -assert(id.string() == "47183823-2574-4bfd-b411-99ed177d3e43"); -assert(id.wstring() == L"47183823-2574-4bfd-b411-99ed177d3e43"); +assert(to_string(id) == "47183823-2574-4bfd-b411-99ed177d3e43"); +assert(to_wstring(id) == L"47183823-2574-4bfd-b411-99ed177d3e43"); ``` ### `operator==` and `operator!=`