string memory layout
source12345678910111213141516171819202122232425262728// string.cpp#include <string>#include <iostream>void func(std::string &hello) { std::cout << hello.size(); std::c
source12345678910111213141516171819202122232425262728// string.cpp#include <string>#include <iostream>void func(std::string &hello) { std::cout << hello.size(); std::c
Source123456789101112131415161718192021#include <map>#include <functional>#include <vector>#include <string>#include <iostream>template<typename... Args>void func
Source123456789101112131415161718#include <map>#include <iostream>void func(std::map<int, int> const &mapping) { for (auto &data : mapping) { std::cout &l
Source1234567891011121314151617181920212223// vector.cpp#include <vector>#include <iostream>void func(std::vector<unsigned long> &datas) { for (auto &data : datas)