Tags: #literals #modernescpp
User-defined literals are a unique feature in all mainstream programming languages.
http://www.modernescpp.com/index.php/user-defined-literals
User-defined literals are a unique feature in all mainstream programming languages.
http://www.modernescpp.com/index.php/user-defined-literals
Modernescpp
User-Defined Literals - ModernesCpp.com
Tags: #introduction #qt #application
This tutorial is an introduction to Qt programming and will teach you how to create an application with Qt and C++.
http://blog.davidecoppola.com/2016/10/how-to-create-an-application-with-qt-and-cpp/
This tutorial is an introduction to Qt programming and will teach you how to create an application with Qt and C++.
http://blog.davidecoppola.com/2016/10/how-to-create-an-application-with-qt-and-cpp/
Bits of Bytes
How to create an application with Qt and C++
This tutorial is an introduction to Qt programming and will teach you how to create an application with Qt and C++. Full project and source code is provided
Tags: #cpprestsdk #newversion #available
CppRestSDK 2.9.0 is available on GitHub
https://blogs.msdn.microsoft.com/vcblog/2016/10/21/cpprestsdk-2-9-0-is-available-on-github/
CppRestSDK 2.9.0 is available on GitHub
https://blogs.msdn.microsoft.com/vcblog/2016/10/21/cpprestsdk-2-9-0-is-available-on-github/
Tags: #output #paramaters #fix
"There are some cases where you need to return a value from a function but cannot use the return value."
https://foonathan.github.io/blog/2016/10/26/output-parameter.html
"There are some cases where you need to return a value from a function but cannot use the return value."
https://foonathan.github.io/blog/2016/10/26/output-parameter.html
foonathan.github.io
void foo(T& out) - How to fix output parameters
If you want a function that returns multiple values, you'd use a reference and assign the outputs to that. But using a reference has a few drawbacks - it is not obvious in the caller, requires default construction etc. This post will explain why you sometimes…
Forwarded from Syra's Techbinder
http://blog.davidecoppola.com/2016/10/how-to-traverse-git-repository-using-libgit2-and-cpp/
Tags: #programming #Cpp #git
Tags: #programming #Cpp #git
Bits of Bytes
How to traverse a git repository using libgit2 and C++
This is a very simple C++ tutorial which explains how to use the open-source library libgit2 to navigate through a git repository.
Tags: #bunch #queues #compiler #interview
A friend had a phone interview for a job in a company that I won’t name - It’s Microsoft.
https://medium.com/@corentin.jabot/stranded-with-a-c-compiler-and-a-bunch-of-queues-d347fe2d6cec#.x8q95b3dx
A friend had a phone interview for a job in a company that I won’t name - It’s Microsoft.
https://medium.com/@corentin.jabot/stranded-with-a-c-compiler-and-a-bunch-of-queues-d347fe2d6cec#.x8q95b3dx
Medium
Stranded with a C++ compiler and a bunch of queues
A friend had a phone interview for a job in a company that I won’t name - It’s Microsoft. One of the questions was about describing how he…
Tags: #stackoverflow #performance #asm #codefaster
Why is this C++ code faster than assembly?
http://stackoverflow.com/questions/40354978/why-is-this-c-code-faster-than-assembly
Why is this C++ code faster than assembly?
http://stackoverflow.com/questions/40354978/why-is-this-c-code-faster-than-assembly
Stackoverflow
Why is this C++ code faster than assembly?
I wrote these two solutions for Project Euler Q14, in assembly and in C++. They are the same identical brute force approach. The assembly solution was assembled with
nasm -felf64 p14.asm &&...
nasm -felf64 p14.asm &&...
Tags: #library #datetime
"Fortunately, a rich date and time library based on chrono has been created by Howard Hinnant"
http://mariusbancila.ro/blog/2016/10/31/a-better-date-and-time-c-library/
"Fortunately, a rich date and time library based on chrono has been created by Howard Hinnant"
http://mariusbancila.ro/blog/2016/10/31/a-better-date-and-time-c-library/
Marius Bancila's Blog
A better date and time C++ library
C++11 added a date and time utility library called chrono, available in namespace std::chrono and header . The problem with it is that the library is a general purpose one and therefo…
Tags: #web #assembly #lowlevel
Google, Microsoft, and Mozilla on Monday announced preview versions of WebAssembly, a low-level safe binary format designed to allow C/C++ code to run in web browsers.
http://m.theregister.co.uk/2016/10/31/webassembly_browser_makers_buy_in/?mt=1478132819507
Google, Microsoft, and Mozilla on Monday announced preview versions of WebAssembly, a low-level safe binary format designed to allow C/C++ code to run in web browsers.
http://m.theregister.co.uk/2016/10/31/webassembly_browser_makers_buy_in/?mt=1478132819507
Tags: #coroutines
In The Art of Computer Programming Donald Knuth introduced coroutines as an alternative to the usual function caller/callee idiom where two pieces of code were treated as cooperating equals.
http://www.italiancpp.org/2016/11/02/coroutines-internals/
In The Art of Computer Programming Donald Knuth introduced coroutines as an alternative to the usual function caller/callee idiom where two pieces of code were treated as cooperating equals.
http://www.italiancpp.org/2016/11/02/coroutines-internals/
Italian C++ Community
Coroutines Internals
What are coroutines and why should I care? In The Art of Computer Programming Donald Knuth introduced coroutines as an alternative to the usual function caller/callee idiom where two pieces of code…
Tags: #operations #templates
Transactional operations made easy through lists of scope guards
https://tessil.github.io//2016/11/01/transactional-operations-scope-guard-list.html
Transactional operations made easy through lists of scope guards
https://tessil.github.io//2016/11/01/transactional-operations-scope-guard-list.html
tessil.github.io
Transactional operations made easy through lists of scope guards
The scope guard idiom is a popular idiom in C++. It provides a way to execute a function at the exit of a scope with the possibility of deactivation.
Tags: #memory #allocation #linux #kernel
http://stackoverflow.com/questions/39947921/why-is-memory-allocation-for-processes-slow-and-can-it-be-faster/39967913
http://stackoverflow.com/questions/39947921/why-is-memory-allocation-for-processes-slow-and-can-it-be-faster/39967913
Stack Overflow
Why is memory allocation for processes slow and can it be faster?
I relatively familiar how virtual memory works. All process memory is divided into pages and every page of the virtual memory maps to a page in real memory or a page in swap file or it can be a new...
Tags: #whyuse #boost #multindex #part1
Although Boost.MultiIndex is a pretty old library — introduced in Boost 1.32, released in 2004 — I found it rather unsung and underestimated across the C++ community in comparison to other non-standard containers.
http://david-grs.github.io/why_boost_multi_index_container-part1/
Although Boost.MultiIndex is a pretty old library — introduced in Boost 1.32, released in 2004 — I found it rather unsung and underestimated across the C++ community in comparison to other non-standard containers.
http://david-grs.github.io/why_boost_multi_index_container-part1/
Thoughts from a Wall Street developer
Why you should use Boost.MultiIndex (Part I)
Although Boost.MultiIndex is a pretty old library — introduced in Boost 1.32, released in 2004 — I found it rather unsung and underestimatedacross the C++ community in comparison to other non-stand...
Do you like anime art and wallpapers?
Join : https://telegram.me/animepix
Join : https://telegram.me/animepix
Telegram
AnimePix
Channel with a lot of fanart and pictures of anime
Italian group: https://tttttt.me/angoloanime
Italian group: https://tttttt.me/angoloanime
Tags: #observer #library
The Observable C++ library – implementing the observer pattern
https://danieldinu.com/posts/observable-cpp-library/
The Observable C++ library – implementing the observer pattern
https://danieldinu.com/posts/observable-cpp-library/
Daniel Dinu
The Observable C++ library - implementing the observer pattern - Daniel Dinu
Use the Observable C++ library to implement the observer pattern in your C++ project. It's easy to use, well-tested and fast.
Tags: #check #validity
When writing generic code, it is sometimes useful to check whether or not a particular SFINAE-friendly expression is valid
https://vittorioromeo.info/index/blog/checking_expression_validity_in_place.html
When writing generic code, it is sometimes useful to check whether or not a particular SFINAE-friendly expression is valid
https://vittorioromeo.info/index/blog/checking_expression_validity_in_place.html
Tags: #Polymorphism #cpp17 #variant
C++17 gives us std::variant<> which allows for a new form of runtime polymorphism.
https://adishavit.github.io/2016/polymorphism-polymorphism/
C++17 gives us std::variant<> which allows for a new form of runtime polymorphism.
https://adishavit.github.io/2016/polymorphism-polymorphism/
adishavit.github.io
Polymorphism Polymorphism
Insights and Visions
Tags: #howto #contribute #github #projects
This tutorial will guide you through the whole process to generate a pull request for a project.
http://blog.davidecoppola.com/2016/11/howto-contribute-to-open-source-project-on-github/
This tutorial will guide you through the whole process to generate a pull request for a project.
http://blog.davidecoppola.com/2016/11/howto-contribute-to-open-source-project-on-github/
Bits of Bytes
How to contribute to an open source project on GitHub
A step by step tutorial showing how to contribute to an open source project on GitHub, one of the most popular and used git repository hosting services.