From Jason Turner

[variant.traits]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp34wn6ulh/{from.md → to.md} +0 -13
tmp/tmp34wn6ulh/{from.md → to.md} RENAMED
@@ -1,13 +0,0 @@
1
- ### Allocator-related traits <a id="variant.traits">[[variant.traits]]</a>
2
-
3
- ``` cpp
4
- template <class... Types, class Alloc>
5
- struct uses_allocator<variant<Types...>, Alloc> : true_type { };
6
- ```
7
-
8
- *Requires:* `Alloc` shall be an Allocator ([[allocator.requirements]]).
9
-
10
- [*Note 1*: Specialization of this trait informs other library
11
- components that variant can be constructed with an allocator, even
12
- though it does not have a nested `allocator_type`. — *end note*]
13
-