Commit Graph

28 Commits

Author SHA1 Message Date
654f391cba string: add upper comparator 2019-05-02 11:03:22 +10:00
46c2153434 string: add string_less comparator 2019-05-01 12:39:19 +10:00
2f6c845409 string: fixup tokeniser::contains 2019-02-20 15:51:54 +11:00
2ce92cb2c8 string: add stub 'contains' query 2019-02-20 14:45:57 +11:00
e2eaa1a7af string: add tests for character_position 2018-10-17 11:48:03 +11:00
6cab42d171 string: add character_position function
`character_position` computes the line and column numbers for an
iterator inside a view.
2018-10-16 18:01:31 +11:00
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
803acc9a87 relicense under MPL-2.0 2018-08-04 15:14:06 +10:00
db24df329f iterator,string: add size queries 2018-07-18 15:19:35 +10:00
170f9ceb2c string: prefer type deduction over explicit typenames 2018-05-08 21:50:43 +10:00
34fc834a29 view: prefer std::next over std::advance
next is slightly less likely to trigger issues dereferencing a temporary
(since we aren't producing an lvalue).
2018-05-08 21:49:27 +10:00
49ebbec37f string: don't use const members for tokeniser::iterator
this allows us to provide an assignment operator more easily
2018-04-01 14:47:33 +10:00
f404598edc string: add advance operator for tokeniser::iterator 2018-04-01 14:46:32 +10:00
5028de600a string: add indirection operator for tokeniser::iterator 2018-04-01 14:44:43 +10:00
048cffaee7 extent;string: return references in iterators 2018-03-27 16:05:46 +11:00
c4e0cd31f9 string: move tokeniser into the header
This allows more varied template parameters to be used.
2018-01-30 12:53:43 +11:00
0351313c36 Merge branch 'master' into coord 2017-11-23 17:24:11 +11:00
34788756d2 build: don't use './' as an include prefix
GCC produces ODR error when including paths of the form './foo' and
'foo' in the same binary. Rather than managing duplication we just
universally pick the absolute form over the relative form.
2017-11-22 16:49:37 +11:00
cfa272a80a string: allow tokenisation of c arrays 2017-09-15 15:22:29 +10:00
a1b35dfbbe string: add trivial wchar-to-utf8 conversions 2016-11-22 21:48:57 +11:00
eacd2f6072 string: allow cstring tokenisers 2016-03-18 11:08:12 +11:00
6a1ea8ff29 string: add tokeniser 2016-03-17 18:14:40 +11:00
fe82fc256c string: remove unused strndup implementation 2016-02-26 12:11:26 +11:00
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
798ea55ec9 Fix type warnings 2013-08-05 16:42:58 +10:00
c8e0086ce0 Add internal implementation of strndup 2013-02-26 17:50:56 +11:00
77942e008d Change my email to an active domain 2012-04-23 13:10:50 +10:00
caa1f3312b Added simple string routine files 2011-08-12 00:25:59 +10:00