Message from C, C++ discussions

January 2020

— To provide RAII for pointers?)

— 

I mean I don't get the usage of unique ptrs. If I have RAII data structures, wouldn't I use them instead of unique ptrs having dynamic allocation?

— Because data structures and unique_ptrs have different usages

— Has anyone tried esp-mdf with esp32

— Can you give a simple example? 😅

— 

std::vector<int> a{1, 2, 3, 4, 5, 6, 7};

auto p = std::make_unique<int>(5);


https://en.cppreference.com/w/cpp/container
https://en.cppreference.com/w/cpp/memory

Message permanent page

— Guys give some stl for tree

— How to construct using stl in c++??

— *tree

— #include <map> - tree with key/value
#include <set> - tree only with values

Wanna their realization ? Google for it. Microsoft has opened STL repository.

Message permanent page

— Thanks😊

— Report liar. I did not violate group laws,