CaseyCarter / cmcstl2

An implementation of C++ Extensions for Ranges
Other
223 stars 68 forks source link

Speculatively implement the PR of ericniebler/stl2#623 #305

Closed CaseyCarter closed 5 years ago

CaseyCarter commented 5 years ago

This fails to compile view.move and view.split. The former is due to a GCC bug - the compiler is instantiating std::vector<std::unique_ptr<some_type>>::operator=(const vector&) when it sees if constexpr(View<std::vector<std::unique_ptr<some_type>>&>) - and I suspect the latter is similar although I haven't investigated.

I'm opening this PR to remind me to devise a workaround and fix this so I can merge.