martinmoene/span-lite

Some constructors not working with move only types

im95able opened this issue · 3 comments

Since restrictions to constructors have been added, some constructors don't work. For example:

std::array<std::unique_ptr<int>, 5> a;
nonstd::span s{a.begin(), 5};

Was this intended ?

Thanks for the quick fix. Could we have a new release ?

I'll make a new release, perhaps this evening or tomorrow.

Closing this now, feel free to reopen if needed.