25 Commits

Author SHA1 Message Date
joaquintides
73cb3e954a Feature/disallow null fixed_variant (#30)
* disallowed fixed_variant with no types

* protected fixed_variant copy/assignment

* documented disallowance of fixed_variant copy/assignment

* worked around spurious C2248 msvc-14.{0|1}

* fixed workaround
2025-01-03 19:25:30 +01:00
joaquintides
f3df1cdd21 Fix/null variant_collection (#27)
* fixed boost::variant_collection_of<>

* added tests for ==/!=
2024-12-30 18:36:03 +01:00
joaquintides
fcd9cebc92 Feature/variant_collection (#26)
* added variant_collection

* added variant_collection

* avoided &* on null pointers

* made (non-public) fixed_variant ctor explicit

* tested higher-arity visit

* implemented visit<void>

* fixed {boost::variant2|std}::variant insertion

* fixed lookup issues with invoke_visit

* removed unneeded constexpr qualifiers

* s/typeid_/index

* reverted c6bc62f6d2 as Clang 5.0 didnt seem to like it

* reinstated c6bc62f6d2

* dropped -std=c++1z for Clang 5.0

* updated docs and examples

* added boost::poly_collection::visit_by_index

* typo

* explicit cted tuple in make_iota_tuple

* changed function name to see if it helps with mangling-related Clang 3.8 ICE

* rewritten make_iota_tuple to try to make Clang 3.8 happier

* added boost::variant_collection_of
2024-12-28 10:56:06 +01:00
Tinko Bartels
0e7f003f9d fixed links that were broken by a page move at cppreference. 2019-04-22 09:44:38 +02:00
joaquintides
2886f32366 added algorithms for_each_n and sample. 2018-09-23 19:40:02 +02:00
joaquintides
49da162ef6 s/std::callable_v/std::is_invocable_r_v in docs 2017-07-15 10:18:12 +02:00
joaquintides
3bdf47cb05 s/std::type_index/std::type_info to allow for future optimization opportunities (breaking change) 2017-06-25 12:29:34 +02:00
joaquintides
55a9e26bd7 used QuickBook custom URL schema for intra-Boost links 2017-06-22 09:43:57 +02:00
joaquintides
6f95a02101 reworded again section on allocator requirements 2017-06-21 11:06:34 +02:00
joaquintides
9f135ad864 reworded section on allocator requirements 2017-06-21 10:59:04 +02:00
joaquintides
9b31e94857 fixed documentation shadowing 2017-06-20 08:57:15 +02:00
joaquintides
67360f450f implemented proper allocator construct/destroy support 2017-06-19 20:41:43 +02:00
joaquintides
1c679d3286 typos 2017-06-11 18:54:23 +02:00
joaquintides
1673ef7bba typos 2017-06-11 11:39:14 +02:00
joaquintides
c421b7b303 (hopefully) clarified registration conditions in insert(x)/insert(it,x) 2017-06-11 11:37:43 +02:00
joaquintides
361cc56154 typo 2017-06-11 11:03:20 +02:00
joaquintides
b75af1a19e documented complexity of empty() and size() 2017-06-11 10:44:27 +02:00
joaquintides
f467b6c477 typos 2017-06-11 10:02:43 +02:00
joaquintides
80b8075efc typo 2017-06-11 09:55:11 +02:00
joaquintides
4397581ae6 added segment(index)/segment<T>() 2017-06-11 00:58:59 +02:00
joaquintides
132c9e5fdc typo 2017-06-08 11:02:19 +02:00
joaquintides
53fb5e5aa7 removed collection-level max_size and capacity 2017-06-07 11:26:56 +02:00
joaquintides
8782f71234 editorial changes as per Steven Watanabe's review 2017-06-06 21:12:52 +02:00
joaquintides
922b5b0a21 typos, replaced GCC results with Sehe's 2016-12-03 12:25:22 +01:00
joaquintides
9e5f11d733 initial commit 2016-11-06 11:17:58 +01:00