So i'm making a program which requires std::variant, so obviously i need C++17 but that's not in Arduino without compiler flags, it's just I cant figure out what flags to do and how to change the compiler flags. (BTW i'm using windows, not Linux (though i do have a Linux laptop))
I have tried using the Arduino boost library but it seems to be written for C++ not Arduino even though it says it's made for Arduino, I have also tried workarounds but they use up too much memory.
I want it to have std or out least an std::variant equivalent in Arduino but I haven't found a way to get that.
Thanks in advance!
EDIT: If there isn't a way to do C++17 in Arduino, then can someone link a tutorial to code Arduino boards using C++