Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tasking: Test returning multiple outputs of type std::any. (#5529)
Test handling of multiple outputs of type std::any. The desired behavior is that passing an iterable object with element type std::any doesn't wrap any into another layer of any, but rather forwards the contained object. When returning: ```C++ return vector<any>{ 1, 2.5f, string("cat") }; ``` When getting the results: ```C+++ int integer = task->GetInputValue<int>(0); float fraction = task->GetInputValue<float>(1); string mammal = task->GetInputValue<string>(2); ``` ---- Signed-off-by: Michał Zientkiewicz <[email protected]>
- Loading branch information