C++
constexpr
consetexpr maze constexpr interpeter
Observable behavior
https://en.cppreference.com/w/cpp/language/as_if as if rule https://en.cppreference.com/w/c/language/eval_order eval order
CMake
Misc
Cherno Cyril Stachniss https://www.youtube.com/c/CyrillStachniss/videos
Class vs struct Smart pointers new/delete ~ malloc + constructor caling static const virtual interfaces - classes that are all virtual methods name mangling
precompiled headers (pch)
#include <iostream>
int main(){
std::cout << "hello world" << std::endl;
std::cout << [](int x){ return x * 42; }(2); // lambda
return 0; // don't have to though
}
fmt library C++20 has this in #include<format>
?
extern "C"
blocks prevent name mangling for ffi purposes.
hidden cost of C++ exceptions if you torture the compiler
Abseil - google C++ stdlib
Folly - something similar by facebook https://news.ycombinator.com/item?id=29841271
conan C/C++ pakcage manager vcpkg
Google test
google bench