the C++ Standards Committee added operator <=> to the working draft for what will eventually become C++20
#improvement
barryrevzin/implementing-the-spaceship-operator-for-optional-4de89fc6d5ec" rel="nofollow">https://medium.com/@barryrevzin/implementing-the-spaceship-operator-for-optional-4de89fc6d5ec
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/
#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
Parsing C++ in Python with Clang
https://eli.thegreenplace.net/2011/07/03/parsing-c-in-python-with-clang
Do you like cpp and you want help me to send news? Contact me: @carbos (only people real interested)
Читать полностью…#cpp
C++ : Check if a String starts with an another given String
http://thispointer.com/c-check-if-a-string-starts-with-an-another-given-string/
I have developed a C++ Library of Data Structures and Algorithms
Please visit
https://github.com/moghya/dsalglib
#c #cpp
Comparing C and C++ usage and performance with a real world project
http://nibblestew.blogspot.it/2017/09/comparing-c-and-c-usage-and-performance.html?m=1
#cpp
Choosing the Right STL Container: General Rules of Thumb
https://embeddedartistry.com/blog/2017/8/23/choosing-the-right-stl-container-general-rules-of-thumb?format=amp
Vote the channel: /channel/tchannelsbot?start=dailycpp
You can send me Repo/Guide/tutorial/project about cpp to: @DailyCppBot (no spam)
#cpp
Allocator for (Re)Actors with Optional Kinda-Safety and Relocation
http://ithare.com/allocator-for-reactors-with-optional-kinda-safety-and-relocation/
#cpp
Partial Specialization and Tags
https://vector-of-bool.github.io/2017/08/12/partial-specializations.html
#cpp
C++ Core Guidelines: Semantic of Function Parameters and Return Values
http://www.modernescpp.com/index.php/c-core-guidelines-semantic-of-function-parameter-and-return-values
the C++ Standards Committee added operator <=> to the working draft for what will eventually become C++20
#improvement
barryrevzin/implementing-the-spaceship-operator-for-optional-4de89fc6d5ec" rel="nofollow">https://medium.com/@barryrevzin/implementing-the-spaceship-operator-for-optional-4de89fc6d5ec
C++ Programming Tips
#Tips
https://blog.molecular-matters.com/2017/09/05/c-programming-tips/
LLVM & Clang evolve rapidly and the C++ API is not stable. This means that code that links against LLVM & Clang as libraries in version X may very well not compile or work in version X+1.
Therefore, this repository has branches that track LLVM versions.
https://github.com/eliben/llvm-clang-samples
cppwinrt.exe in the Windows SDK
https://moderncpp.com/2017/11/15/cppwinrt-exe-in-the-windows-sdk/amp/
I'm searching staff to manage and send post here, contact me for more info: @carbos (not for money)
Читать полностью…Vote the channel: /channel/tchannelsbot?start=dailycpp
You can send me Repo/Guide/tutorial/project about cpp to: @DailyCppBot (no spam)
#cpp
"No C++, just plain C” – not for app-level programming!
http://ithare.com/c-performance-common-wisdoms-and-common-wisdoms/
#cpp
Performance comparison: linear search vs binary search.
https://dirtyhandscoding.wordpress.com/2017/08/25/performance-comparison-linear-search-vs-binary-search/
#cpp
Find all Lexicographic Permutations of a String
http://www.techiedelight.com/find-lexicographic-permutations-string/
#cpp #opengl
Pro Tip: Linking OpenGL for Server-Side Rendering
https://devblogs.nvidia.com/parallelforall/linking-opengl-server-side-rendering/
#cpp
Top 20 C++ multithreading mistakes and how to avoid them
http://www.acodersjourney.com/2017/08/top-20-cplusplus-multithreading-mistakes/
#cpp #qt
Introducing QtMQTT
http://blog.qt.io/blog/2017/08/14/introducing-qtmqtt-protocol/