Open
Bug 2016562
Opened 15 hours ago
Updated 15 hours ago
Simplify ParamTraits::Write to a single definition
Categories
(Core :: IPC, task)
Core
IPC
Tracking
()
NEW
People
(Reporter: bradwerth, Assigned: bradwerth)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
ParamTraits::Write has two definitions, relying on the compilier to use the correct one for lvalue and rvalue params. This can be made explicit with static type checks. Doing so fixes compile errors with rvalue types that are passed in via std::forward().
| Assignee | ||
Comment 1•15 hours ago
|
||
This doesn't change functionality; it just flattens two method
definitions into one. This helps the compiler handle rvalue types that
are passed in via std::forward.
You need to log in
before you can comment on or make changes to this bug.
Description
•