Philipp Jung
Philipp Jung
Home
Posts
Projects
Contact
Light
Dark
Automatic
Posts
(Guaranteed) Copy Elision in C++11/14/17
Why
auto foo = Foo()
does neither copy nor move a
Foo
object. C++17’s mandatory copy elision omits copies and moves when initializing from temporaries, returning temporaries or throwing/catching by value.
Philipp Jung
Last updated on Jan 25, 2023
3 min read
Using modern CMake to test private C++ implementation files
Using modern CMake to test private C/C++ implementation files without exposing them to library users.
Philipp Jung
Last updated on Sep 24, 2023
2 min read
Cite
×