0912f68844
string: add is_transparent
to transforming less
comparator
2021-12-17 14:53:25 +10:00
2d0324f17a
string: handle trailing/leading delimiters in tokeniser
2021-12-17 10:32:19 +10:00
452328957d
string: add a templated transform comparator
2021-12-15 09:27:38 +10:00
ce826e664f
string: add less comparator with transform
2021-11-22 11:15:53 +10:00
e75b1f571c
string: rename compare as equality
2021-11-22 10:42:19 +10:00
71d350b29c
remove use of std::iterator
2021-11-18 11:41:23 +10:00
d5ba7e016f
string: add to_upper
overload for char arrays
2020-12-01 13:32:55 +10:00
b0ac349f70
string: fancy comparators should take only string_views
...
This reduces complications dealing with implicit casts from things like
'std::string' which are fairly common.
2020-10-21 10:23:04 +10:00
757253ee4e
string: add string_view overload to to_upper
2020-04-01 13:02:28 +11:00
03786f3fcc
string: add to_lower and tests
2019-11-26 08:10:04 +11:00
595d062638
string: add to_upper
2019-11-26 07:49:23 +11:00
2e16e8962b
string: simplify the lower/upper comparators
2019-10-10 15:12:15 +11:00
e0350f912b
string: tokeniser value_type should be view<Iterator>
2019-06-20 16:31:22 +10:00
8beada1646
debug: split debug headers into components
2019-05-17 12:26:08 +10:00
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