1
0
forked from boostorg/mp11

Added synopsis for mp_find

This commit is contained in:
Bjorn Reese
2017-05-13 11:43:31 +02:00
parent 4338af3c49
commit de8b2ef76b

View File

@@ -191,6 +191,8 @@ for the elements of `L<U1...>` and `mp_false` for the elements of `L<U2...>`. Re
[section `mp_find<L, V>`]
template<class L, class V> using mp_find = /*...*/;
Returns the index at which type `V` is located in list `L`.
`mp_find<L, V>` is an alias for `mp_size_t<I>`, where `I` is the zero-based index of the first occurence of `V` in `L`. If
`L` does not contain `V`, `mp_find<L, V>` is `mp_size<L>`.
[endsect]