boolinq: C++ 20 Windows Build Problem

I am using your library. It could be built with C++ 17. But now I’ve changed my projects to be built with C++ 20 and it gives errors. Simple example error is like that:

int main() {
	vector<int> asd = { 3, 4, 1, -1, 565 };
	for (int b : from(asd).where([](int a) { return a > 3; }).toStdVector())
		cout << b << endl;

	return 0;
}
Severity	Code	Description	Project	File	Line	Suppression State
Error (active)	E0135	class "boolinq::Linq<std::tuple<boolinq::Linq<std::pair<std::_Vector_const_iterator<std::_Vector_val<std::conditional_t<true, std::_Simple_types<int>, std::_Vec_iter_types<int, size_t, ptrdiff_t, int *, const int *, int &, const int &>>>>, std::_Vector_const_iterator<std::_Vector_val<std::conditional_t<true, std::_Simple_types<int>, std::_Vec_iter_types<int, size_t, ptrdiff_t, int *, const int *, int &, const int &>>>>>, int>, int>, int>" has no member "toStdVector"

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 22 (20 by maintainers)

Most upvoted comments

Merged both, introduced subnamespace priv to avoid collisions incase of using both std and boolinq namespaces!

@TaeZStkyoht @RoqueDeicide thanks for the contributions, I will merge both and resolve conflicts 😁👌👍