diff options
Diffstat (limited to 'src/strings/zstring.tcc')
-rw-r--r-- | src/strings/zstring.tcc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/strings/zstring.tcc b/src/strings/zstring.tcc index fe0e9f3..2eaa8c0 100644 --- a/src/strings/zstring.tcc +++ b/src/strings/zstring.tcc @@ -17,19 +17,16 @@ // 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 <cstring> - #include "vstring.hpp" + +namespace tmwa +{ namespace strings { template<uint8_t n> ZString::ZString(const VString<n>& s) : _b(&*s.begin()), _e(&*s.end()), _base(nullptr) {} - - template<size_t n> - ZString::ZString(const char (&s)[n], const RString *base_) - : _b(s), _e(s + strlen(s)), _base(base_) - {} } // namespace strings +} // namespace tmwa |