From 1a651243bb2c8e18baa9aac30ac52a62185074e7 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sun, 30 Mar 2014 23:14:12 -0700 Subject: Be stricter about most arrays --- src/strings/base.hpp | 2 ++ src/strings/pair.hpp | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/strings') diff --git a/src/strings/base.hpp b/src/strings/base.hpp index cd8d46f..c5181da 100644 --- a/src/strings/base.hpp +++ b/src/strings/base.hpp @@ -31,6 +31,8 @@ // than would probably be necessary in an ideal language. namespace strings { + // TODO reimplement some things in terms of Slice and Slice::iterator? + // simple pointer-wrapping iterator that can be used to get distinct // types for different containers. template diff --git a/src/strings/pair.hpp b/src/strings/pair.hpp index a519ddb..a592a91 100644 --- a/src/strings/pair.hpp +++ b/src/strings/pair.hpp @@ -28,9 +28,7 @@ namespace strings { // TODO instead typedef ranges::Contiguous - // or whatever it becomes once it exists. - // const_array is just a hack, as evidenced by the fact - // that it's not really const. + // or whatever it becomes once it exists (probably grown from Slice). class XPair { const char *_begin; -- cgit v1.2.3-70-g09d2