You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I request all set...() functions to support function chaining by returning a reference to themselves.
This is widely used across languages. Can be used both in C++ and in python bindings (python loves these).
Could combine with #355 as a task "make get() const and set() return T&"
myColorImgFrame.setCategory(2).setWidth(500).setHeight(200);
// or everything with rvaluesmyfunc(myqueue->get<dai::ImgFrame>().setCategory(2).setWidth(500).setHeight(200));
I request all
set...()
functions to support function chaining by returning a reference to themselves.This is widely used across languages. Can be used both in C++ and in python bindings (python loves these).
Could combine with #355 as a task "make get() const and set() return T&"
Fixes are trivial
Setup
Repro
Found while writing my app and having to make temp variables just to
set...()
some things.The text was updated successfully, but these errors were encountered: