Hello
I want to shift 80 bits into a esp32 - i saw some examples that are using the #include <bitset>.
#include <stdio.h>
#include <iostream>
#include <bitset>
void app_main(void)
{
std::bitset<80> b("01000000000000000000000000000000");
b >>= 12;
}
For some reason the #include <bitset> is reported as not present (when using F12 - go to definitions - is open the file)
Any solutions?
Thanks
Bitset header
Re: Bitset header
I'll bring up the topic, it's also interesting. I didn't find any answers.
Re: Bitset header
I have no problems including <bitset> with
Code: Select all
v5.2-dev
Re: Bitset header
I am using the latest official 5.1.1.
Who is online
Users browsing this forum: Majestic-12 [Bot] and 214 guests