etaler / Etaler

A flexable HTM (Hierarchical Temporal Memory) framework with full GPU support.
BSD 3-Clause "New" or "Revised" License
89 stars 14 forks source link

Replace std::decay with std::remove_cvref when C++20 is avaliable #144

Open marty1885 opened 4 years ago

marty1885 commented 4 years ago

TL;DR. There's a lot of places I used std::decay to get rid of references and const qualifiers. Which decay does that but have unintentional behavior for functions and arrays. Should fix that when possible.