Skip to content

Conversation

@jengelh
Copy link
Contributor

@jengelh jengelh commented Jan 20, 2026

The use of the const keyword for many a member functions precludes the use of f(g()), requiring to cumbersomly write

auto v = g();
f(std::move(v));

The use of the `const` keyword for many a member functions precludes
the use of `f(g())`, requiring to cumbersomly write

	auto v = g();
	f(std::move(v));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant