Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UREACT_DBG #109

Open
YarikTH opened this issue Feb 23, 2023 · 0 comments
Open

UREACT_DBG #109

YarikTH opened this issue Feb 23, 2023 · 0 comments

Comments

@YarikTH
Copy link
Owner

YarikTH commented Feb 23, 2023

UREACT_DBG or similar to https://github.com/sharkdp/dbg-macro

UREACT_DBG(src)
    | UREACT_DBG(ureact::transform(...))
    | UREACT_DBG(ureact::filter(...))
    | UREACT_DBG(ureact::once);
[example.cpp:10 (main)] src = {1, -2, 3} (int)
[example.cpp:11 (main)] ureact::transform(...) = {1.0, -2.0, 3.0} (float)
[example.cpp:12 (main)] ureact::filter(...) = {1.0, 3.0} (float)
[example.cpp:13 (main)] ureact::once = {1.0} (float)

It would allow to debug library and use it in examples.

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

No branches or pull requests

1 participant