Merge branch 'feature/upgrade_c_cxx_standards' into 'master'

build system: use C17 and C++2a by default

Closes IDF-1499, IDFGH-1788, IDFGH-2781, and IDFGH-7617

See merge request espressif/esp-idf!18371
This commit is contained in:
Jakob Hasse
2022-06-20 12:24:08 +08:00
23 changed files with 281 additions and 161 deletions

View File

@@ -18,8 +18,8 @@
class chat_message
{
public:
enum { header_length = 4 };
enum { max_body_length = 512 };
static constexpr std::size_t header_length = 4;
static constexpr std::size_t max_body_length = 512;
chat_message()
: body_length_(0)