#clang #lint #clang_tidy
clang-tidy is a clang-based C++ “linter” tool. Its purpose is to provide an extensible framework for diagnosing and fixing typical programming errors, like style violations, interface misuse, or bugs that can be deduced via static analysis. clang-tidy is modular and provides a convenient interface for writing new checks.
http://clang.llvm.org/extra/clang-tidy/index.html
clang-tidy is a clang-based C++ “linter” tool. Its purpose is to provide an extensible framework for diagnosing and fixing typical programming errors, like style violations, interface misuse, or bugs that can be deduced via static analysis. clang-tidy is modular and provides a convenient interface for writing new checks.
http://clang.llvm.org/extra/clang-tidy/index.html
Fast exact integer divisions using floating-point operations
#Division #float
https://lemire.me/blog/2017/11/16/fast-exact-integer-divisions-using-floating-point-operations/
#Division #float
https://lemire.me/blog/2017/11/16/fast-exact-integer-divisions-using-floating-point-operations/
the C++ Standards Committee added operator <=> to the working draft for what will eventually become C++20
#improvement
https://medium.com/@barryrevzin/implementing-the-spaceship-operator-for-optional-4de89fc6d5ec
#improvement
https://medium.com/@barryrevzin/implementing-the-spaceship-operator-for-optional-4de89fc6d5ec
Medium
Implementing the spaceship operator for optional
Last week, the C++ Standards Committee added operator<=>, known as the spaceship operator, to the working draft for what will eventually…
Small Vector Optimization
#Optimize #Vector #Memory
https://stoyannk.wordpress.com/2017/11/18/small-vector-optimization/
#Optimize #Vector #Memory
https://stoyannk.wordpress.com/2017/11/18/small-vector-optimization/
Prog stuff
Small vector optimization
One of the key performance optimization techniques involves reducing the number of dynamic memory allocation that a program does. The reasons are: Generic memory allocations are relatively slow Hea…
Tutorial and examples for std::array
#STL #array #tutorial
http://thispointer.com/c11-stdarray-tutorial-and-examples/
#STL #array #tutorial
http://thispointer.com/c11-stdarray-tutorial-and-examples/
One of the notable advantages of using std::array is that you can use range based for loop for it
Face morph using OpenCV in C++
#OpenCV #Vision #Face_morph
https://www.learnopencv.com/face-morph-using-opencv-cpp-python/
#OpenCV #Vision #Face_morph
https://www.learnopencv.com/face-morph-using-opencv-cpp-python/
How to install OpenCV on windows
#OpenCV #Windows
https://www.learnopencv.com/install-opencv3-on-windows/
#OpenCV #Windows
https://www.learnopencv.com/install-opencv3-on-windows/
LearnOpenCV – Learn OpenCV, PyTorch, Keras, Tensorflow with code, & tutorials
Install OpenCV 3 on Windows
In this post, we will provide step by step instructions on how to install OpenCV 3 (C++ and Python) on Windows. If you want to install OpenCV 4 from source, please check out this tutorial: Install OpenCV from source on Windows If you want to install OpenCV…
Simplifying Compile-Time Options With if constexpr
#cpp17
https://philippegroarke.com/blog/2017/11/20/simplifying-compile-time-options-with-if-constexpr/
#cpp17
https://philippegroarke.com/blog/2017/11/20/simplifying-compile-time-options-with-if-constexpr/
Philippegroarke
Simplifying Compile-Time Options With if constexpr • memdump
C++ if constexpr tutorial.
Problems with current model
#include #issues
https://clang.llvm.org/docs/Modules.html#problems-with-the-current-model
#include #issues
https://clang.llvm.org/docs/Modules.html#problems-with-the-current-model
C++ Core Guidelines: Rules for Unions
#Unions
http://www.modernescpp.com/index.php/c-core-guidelines-rules-for-unions
#Unions
http://www.modernescpp.com/index.php/c-core-guidelines-rules-for-unions
Modernescpp
C++ Core Guidelines: Rules for Unions - ModernesCpp.com
QT for web assembly
#Emscripten #WASM #WebAssembly #Qt
http://qtandeverything.blogspot.in/2017/11/qt-for-webassembly-update.html
#Emscripten #WASM #WebAssembly #Qt
http://qtandeverything.blogspot.in/2017/11/qt-for-webassembly-update.html
Blogspot
Qt for WebAssembly update
The project Qt 5 emscripten that Intopalo (who are doing tons of amazing stuff with some awesome talent) started as research for a client,...
For the uninitiated
Introduction To WebAssembly
#WASM #WebAssembly
https://www.smashingmagazine.com/2017/05/abridged-cartoon-introduction-webassembly/
Introduction To WebAssembly
#WASM #WebAssembly
https://www.smashingmagazine.com/2017/05/abridged-cartoon-introduction-webassembly/
C++ Design Tip : Objects should not point back to an object that owns them
#Tips
https://deque.blog/2017/11/20/c-design-tip-objects-should-not-point-back-to-an-object-that-owns-them/
#Tips
https://deque.blog/2017/11/20/c-design-tip-objects-should-not-point-back-to-an-object-that-owns-them/
Deque
C++ Design Tip: Objects should not point back to an object that owns them
In today’s post, we will be advising against storing back-pointers in objects. This is something that we can find in our code, and which unfortunately leads to bugs, decreased performance, co…