Tags: #fold #function
"With fold expressions you can implement the from Haskell known functions foldl, foldr, foldl1 and foldr1 directly in C++. These four functions successively reduce a list to a single value."
https://www.modernescpp.com/index.php/fold-expressions
"With fold expressions you can implement the from Haskell known functions foldl, foldr, foldl1 and foldr1 directly in C++. These four functions successively reduce a list to a single value."
https://www.modernescpp.com/index.php/fold-expressions
Modernescpp
Fold Expressions - ModernesCpp.com
Tags: #qt #charts #glowing
"Now to make the graph more polished we decided to hide the labels and the grids drawn to the chart and make the background transparent..."
https://blog.qt.io/blog/2017/02/07/glowing-qt-charts/
"Now to make the graph more polished we decided to hide the labels and the grids drawn to the chart and make the background transparent..."
https://blog.qt.io/blog/2017/02/07/glowing-qt-charts/
Qt Blog
Glowing Qt Charts - Qt Blog
Have you ever had the need to visualize data graphically and add some ‘wow’-effect to it? I’m currently helping out with the development of a demo application, where we have some charts to visualize data received from sensors. Naturally, the designer wants…
Tags: #policy #design
"If done properly, a library author can accommodate all use cases with a single implementation..."
https://foonathan.net/blog/2017/02/08/policy-based-design-problem.html
"If done properly, a library author can accommodate all use cases with a single implementation..."
https://foonathan.net/blog/2017/02/08/policy-based-design-problem.html
foonathan.net
The problem with policy-based design
Policy-based design is great: It provides a lot of flexibility to the users of a class. They can use the exact policy for their use. However, it has a big problem: it creates a lot of different and incompatible types. This post explains it in more detail…
Tags: #moderncpp #howtouse #bfilipek
https://www.bfilipek.com/2017/02/how-to-stay-sane-with-modern-c.html
https://www.bfilipek.com/2017/02/how-to-stay-sane-with-modern-c.html
C++ Stories
How To Stay Sane with Modern C++
C++ grows very fast! For example, the number of pages of the C++ standard went from 879 pages for C++98/03 to 1834 for C++20! Nearly 1000 pages! What’s more, with each revision of C++, we get several dozens of new features. Have a look at my blog post with…
Tags: #console #crossplatform #remotelogging
https://blog.forrestthewoods.com/writing-a-cross-platform-remote-logging-console-in-c-f2e22d3fee5e#.537j5tnpc
https://blog.forrestthewoods.com/writing-a-cross-platform-remote-logging-console-in-c-f2e22d3fee5e#.537j5tnpc
Dev Curious
Writing a Cross-Platform, Remote Logging Console in C++
I recently finished a small side project. As the title suggests, I made a debug log console that is cross-platform and remotely connects to games. I had two main goals. First, I believe debugging…
Tags: #fromusers #IT
State-of-the-art Encryption Services. IT-Infrastructures, designed to maximize security.
https://www.nt-shield.com/
State-of-the-art Encryption Services. IT-Infrastructures, designed to maximize security.
https://www.nt-shield.com/
NTShield
Home | NTShield
State-of-the-art Encryption Services. IT-Infrastructures, designed to maximize security.
Forwarded from The Daily C++
Send your project/repo/guide/tutorial to @dailycppbot (the bot can't reply to you, and don't send spam)
Tags: #maybenull #vs #nevernull
https://herbsutter.com/2017/02/15/distinguishing-between-maybe-null-vs-never-null-is-the-important-thing/
https://herbsutter.com/2017/02/15/distinguishing-between-maybe-null-vs-never-null-is-the-important-thing/
Sutter’s Mill
Distinguishing between maybe-null vs never-null is the important thing
This discussion today on the Core Guidelines repo issues is probably of broad interest. It’s regarding why we chose to annotate not_null<T*> rather than the reverse in the Guidelines an…
Tags: #object_pool
https://medium.com/@municode/using-object-pools-and-placement-new-to-simplify-memory-management-36daeef86bb6#.jpbw1oxz3
https://medium.com/@municode/using-object-pools-and-placement-new-to-simplify-memory-management-36daeef86bb6#.jpbw1oxz3
Medium
Using object pools and placement new to simplify memory management
In modern C++, you tend to use unique_ptr and shared_ptr to manage the lifecycle of objects. If you have cycles, you may have to throw in…