-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Since C++17 introduced std::byte, errors have been occurring frequently on Windows. The best solution would be to avoid using using namespace std; indiscriminately, but I also understand that various addons can cause issues.
So, while it might lead to some confusion, how about defining #define _HAS_STD_BYTE 0 in the VC++ environment to temporarily disable std::byte?
At the very least, beginners and learners around me seem to have developed a fear of recent versions of oF due to these errors, so I think this could serve as a reasonable temporary workaround. I don’t see much code that actually uses std::byte anyway…
That said, I haven’t thoroughly checked whether there are libraries that depend on std::byte, but for now, this is just a suggestion.