]> Dogcows Code - chaz/openbox/blob - otk/ustring.cc
start on otk::ustring (unicode/utf8)
[chaz/openbox] / otk / ustring.cc
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2
3 #ifdef HAVE_CONFIG_H
4 # include "../config.h"
5 #endif // HAVE_CONFIG_H
6
7 #include "ustring.hh"
8
9 extern "C" {
10 #include <assert.h>
11 }
12
13 namespace otk {
14
15 ustring::ustring()
16 {
17 }
18
19 ustring::~ustring()
20 {
21 }
22
23 ustring::ustring(const ustring& other)
24 : _string(other._string)
25 {
26 }
27
28 ustring& ustring::operator=(const ustring& other)
29 {
30 _string = other._string;
31 return *this;
32 }
33
34 ustring::ustring(const std::string& src)
35 : _string(src)
36 {
37 }
38
39 ustring::ustring(const char* src)
40 : _string(src)
41 {
42 }
43
44 }
This page took 0.037718 seconds and 5 git commands to generate.