is it possible to extend deduction rules in std?
#include <vector>
#include <array>
namespace std {
template< class T, size_t N >
vector(array<T, N>&) -> vector<T>;
}
int main() {
std::array a = {2,3,5,7}; // array<int, 4> !
std::vector w(a);
}
g++10.0 (wandbox) seems to ignore my version.
according to clang9.0 (Wandbox too) the predefined rule liv in a hidden space: error: deduction guide must be declared in the same scope as template 'std::__1::vector'