Back to TILs

C++ aliasing_01

Date: 2023-03-15Last modified: 2023-03-16

Table of contents

  std::string s{"hello, "};
  s += s;
  fmt::print("{}", s);

Possible output

hello, hello, 

References