You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add template deduction guide for Slice constructor
PR #1367 added an explicit Slice constructor which allows constructing
from any C++ container.
This adds a template deduction guide for that constructor which allows
the Slice type to be inferred from the container's contained type.
This applies to C++17 only.
Note that, because C can be any type of container, we need to use a
template template parameter.
Test: cargo test
Test: cargo test -F c++14
Test: cargo test -F c++17
Test: cargo test -F c++20
0 commit comments