diff options
Diffstat (limited to 'src/strings/xstring.cpp')
-rw-r--r-- | src/strings/xstring.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/strings/xstring.cpp b/src/strings/xstring.cpp index 0808104..4635a90 100644 --- a/src/strings/xstring.cpp +++ b/src/strings/xstring.cpp @@ -18,8 +18,18 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. +#include "rstring.hpp" +#include "astring.hpp" +#include "tstring.hpp" +#include "sstring.hpp" +#include "zstring.hpp" +#include "literal.hpp" + #include "../poison.hpp" + +namespace tmwa +{ namespace strings { XString::XString() @@ -40,6 +50,9 @@ namespace strings XString::XString(const ZString& s) : _b(&*s.begin()), _e(&*s.end()), _base(s.base()) {} + XString::XString(const LString& s) + : _b(&*s.begin()), _e(&*s.end()), _base(s.base()) + {} XString::XString(const char *b, const char *e, const RString *base_) : _b(b), _e(e), _base(base_) @@ -65,3 +78,4 @@ namespace strings return _base; } } // namespace strings +} // namespace tmwa |