Skip to content

Allow directly feeding generate() return value to another function#331

Merged
vincent-richard merged 4 commits intokisli:masterfrom
jengelh:master
Mar 24, 2026
Merged

Allow directly feeding generate() return value to another function#331
vincent-richard merged 4 commits intokisli:masterfrom
jengelh:master

Conversation

@jengelh
Copy link
Copy Markdown
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));

jengelh and others added 4 commits January 20, 2026 01:49
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));
Some threading implementations are lightweight/do not have a
corresponding PID-like identifier for them, but only a memory handle.
This necessitates using a type that is a typical register wide.
@vincent-richard vincent-richard merged commit 334f22e into kisli:master Mar 24, 2026
1 check passed
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.

2 participants