From 730e5dde39333cb2f63c72a7d7152bee5c4dbb05 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 8 Feb 2014 15:09:25 -0800 Subject: Implement AString --- src/strings/vstring.tcc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/strings/vstring.tcc') diff --git a/src/strings/vstring.tcc b/src/strings/vstring.tcc index 674b21d..69729d4 100644 --- a/src/strings/vstring.tcc +++ b/src/strings/vstring.tcc @@ -21,7 +21,8 @@ #include "../common/utils2.hpp" -#include "fstring.hpp" +#include "rstring.hpp" +#include "astring.hpp" #include "tstring.hpp" #include "sstring.hpp" #include "zstring.hpp" @@ -43,11 +44,16 @@ namespace strings // poor man's delegated constructors // needed for gcc 4.6 compatibility template - VString::VString(FString f) + VString::VString(RString f) { *this = XString(f); } template + VString::VString(AString a) + { + *this = XString(a); + } + template VString::VString(TString t) { *this = XString(t); @@ -109,7 +115,7 @@ namespace strings return std::end(_data) - _special; } template - const FString *VString::base() const + const RString *VString::base() const { return nullptr; } -- cgit v1.2.3-70-g09d2