C5T / Current

C++ framework for realtime machine learning.
https://medium.com/dima-korolev/current-for-realtime-machine-learning-4f04aa8ab81a
97 stars 29 forks source link

Fixing `using namespace` for `CURRENT_STRUCT`-s. #892

Closed dkorolev closed 3 years ago

dkorolev commented 3 years ago

Hi @mzhurovich,

This tweak makes it possible to reach into inner namespace with using and not have troubles with CURRENT_STRUCT-s. Tested on Windows and Linux, and the first commit illustrates what used to break before the fix, and how.

Ready to merge from my end.

Thanks, Dima

... this description to be edited once the fix is a) confirmed to work, and b) is clean enough to review and to check into C5T/stable.