32 Commits

Author SHA1 Message Date
Alan de Freitas 14fb347896 feat(ranges): specialize enable_borrowed_range for view types
All view types in Boost.URL have iterators that store raw pointers
to external data rather than references to the view object itself.
This means iterators remain valid even after the view is destroyed,
satisfying the borrowed_range requirements.

Specializations added for:
- decode_view, pct_string_view
- params_view, params_ref, params_encoded_view, params_encoded_ref
- segments_view, segments_ref, segments_encoded_view, segments_encoded_ref

fix #927
2026-01-26 12:01:22 -05:00
Vinnie Falco 7e60e85fe7 static assert is in detail 2025-10-23 21:53:22 -07:00
Alan de Freitas 83d8166d50 refactor: replace BOOST_STATIC_ASSERT with BOOST_CORE_STATIC_ASSERT
fix #934
2025-10-22 11:05:46 -05:00
alandefreitas 96438f683e remove type aliases
fix #743
2023-04-28 17:27:26 -03:00
Vinnie Falco 789cadbc08 tests tidying 2022-09-16 15:44:26 -07:00
Vinnie Falco 5f8e694fe4 params tests 2022-09-16 15:44:25 -07:00
Vinnie Falco e8ce191aac no_value required for param init 2022-09-10 20:28:19 -07:00
Vinnie Falco 4a9d906cf6 refactor params 2022-09-10 18:52:35 -07:00
alandefreitas de907fe2f3 update links 2022-09-09 16:13:32 -03:00
Vinnie Falco 144a87aa49 segments refactor 2022-09-07 21:43:27 -03:00
Vinnie Falco 78a6bbb71a params tidy 2022-09-05 16:59:35 -07:00
Vinnie Falco f837899a89 params refactor 2022-09-04 13:58:48 -07:00
Vinnie Falco 0cb23ac1de tidy up param 2022-09-03 17:27:16 -07:00
Vinnie Falco d5b001999c refactor params
fix #475, fix #470, fix #456, fix #455
2022-09-03 13:08:48 -07:00
Vinnie Falco e0268cd355 params container refactoring 2022-08-29 18:41:13 -07:00
alandefreitas afb91bc384 refactor decode/encode functions
fix #448, fix #438
2022-08-25 17:40:14 -03:00
Vinnie Falco 6e7a71c02d remove static_pool
fix #337
2022-08-04 18:13:32 -07:00
alandefreitas 7b75711a81 views are default constructible
fix #273
2022-08-02 21:43:50 -03:00
Vinnie Falco b70f9745a7 Doc work and sequence work 2022-07-31 18:21:07 -07:00
alandefreitas 8bad7695ed iterate empty query
fix #129
2022-07-29 16:02:50 -03:00
Vinnie Falco 49c8e06260 params_encoded_view is default constructible 2022-07-28 17:11:51 -07:00
Vinnie Falco 35e9479227 Add params_encoded_view tests 2022-07-28 14:41:11 -07:00
alandefreitas 5c307a889a use pct_encoded_view
fix #235, fix #223, fix #168, fix #164, fix #163, fix #159
2022-07-26 17:46:56 -03:00
alandefreitas 3b6e2afafc param forward iterators 2022-04-04 12:04:24 -03:00
alandefreitas 999dbe147b BOOST_TEST_EQ
fix #69
2022-03-18 14:49:17 -03:00
alandefreitas 78ffe4f3ee subview assignments are ref-qualified
fix #77, close #130
2022-02-24 16:46:10 -08:00
Vinnie Falco 6741530895 empty params are empty
fix #129
2022-02-23 11:54:03 -08:00
Vinnie Falco 4fefcf582d range / query work 2021-12-25 21:45:49 -08:00
Vinnie Falco c1b865871f error codes have source locations
close #54
2021-10-03 11:46:28 -07:00
Vinnie Falco cdbe24fc7e docs and tidy 2021-10-02 17:44:30 -07:00
Vinnie Falco 06477f733c params work and tests 2021-09-30 11:39:31 -07:00
Vinnie Falco bb4e19232d params_encoded_view 2021-09-29 15:27:49 -07:00