Searched hist:"9 cde21ff" (Results 1 – 4 of 4) sorted by relevance
/openbmc/sdbusplus/example/ |
H A D | list-users.cpp | 9cde21ff Mon Aug 29 10:33:27 CDT 2022 Patrick Williams <patrick@stwcx.xyz> message: add unpack method
Add an unpack method that allows reading from the message as r-values. This simplifies the pattern:
``` foo f{}; bar b{}; msg.read(f,b);
// Can now be written as...
auto [f, b] = msg.unpack<foo, bar>(); ```
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic2ae7f2c52d41702b8c7c3af6a2efb21558a7579
|
/openbmc/sdbusplus/ |
H A D | README.md | 9cde21ff Mon Aug 29 10:33:27 CDT 2022 Patrick Williams <patrick@stwcx.xyz> message: add unpack method
Add an unpack method that allows reading from the message as r-values. This simplifies the pattern:
``` foo f{}; bar b{}; msg.read(f,b);
// Can now be written as...
auto [f, b] = msg.unpack<foo, bar>(); ```
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic2ae7f2c52d41702b8c7c3af6a2efb21558a7579
|
/openbmc/sdbusplus/include/sdbusplus/ |
H A D | message.hpp | 9cde21ff Mon Aug 29 10:33:27 CDT 2022 Patrick Williams <patrick@stwcx.xyz> message: add unpack method
Add an unpack method that allows reading from the message as r-values. This simplifies the pattern:
``` foo f{}; bar b{}; msg.read(f,b);
// Can now be written as...
auto [f, b] = msg.unpack<foo, bar>(); ```
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic2ae7f2c52d41702b8c7c3af6a2efb21558a7579
|
/openbmc/sdbusplus/test/message/ |
H A D | read.cpp | 9cde21ff Mon Aug 29 10:33:27 CDT 2022 Patrick Williams <patrick@stwcx.xyz> message: add unpack method
Add an unpack method that allows reading from the message as r-values. This simplifies the pattern:
``` foo f{}; bar b{}; msg.read(f,b);
// Can now be written as...
auto [f, b] = msg.unpack<foo, bar>(); ```
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic2ae7f2c52d41702b8c7c3af6a2efb21558a7579
|