Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Templates and metaprogramming considered as the big bad wolf of C++, and it’s time to stop being scared of this wolf, as it’s one of the most powerful creatures of C++.
-
Sometimes, we all need a way to iterate over a container in the opposite direction.
-
Back in the day, being a witch was considered a grave crime.
-
We all know that every ‘,’ matters in this language, so I decided to talk directly about that character today.
-
Daisy Hollman is an extremely talented developer, who is highly involved in many advanced fields of C++.
-
From Modern to Unbelievably Modern C++ CoreC++ talk is now available online.
-
The const keyword is widely used within almost every C++ program.
-
Two weeks ago I was giving a talk alongside a good friend of mine Daisy Hollman at the Israel CoreC++ conference.
-
Fold expressions exist in C++ since C++17 and significantly affect how we treat variadic templates.
-
Communication is a powerful tool of the humanity.
-
If William Shakespeare would have been a C++ developer, this would probably was the title that the explicit(bool) proposal have got.
-
You can now discuss about new articles, offer ideas for the next posts, and get updates about the blog on our new Discord server and Telegram channel.
-
Previous week I published the riddle “The Shared View”.
-
This week I decided to write a riddle, which is consisted of some chosen articles from this blog (and one topic that I didn’t write about yet – std::string_view).
-
It’s been a long dark (mode) night.
-
Last time we visited the shared island, and that leaves us with only two more islands to visit, but lucky us they are not that far from here.
-
With amazing tools come greate abilities.
-
Mother ASM to her young C(hild): "Write a good code today, and don't forget to release the memory before you come back from school!"
-
One of the most desired Design Patterns is reflection- The ability to use classes metadata (Names, functions, properties, etc…) at runtime.
-
In the previous article we saw a way to implement the Factory design pattern in C++.
-
Design Patterns were always different in C++, and a usual use of these patterns in C++ might cause more complications and problems in this language.
-
Conditions are the most natural way to control your code flow in programming, it’s almost the first thing that every programmer learn at the beginning.
-
On previous articles we saw how to create constexpr functions which can evaluate on compile time, and how to communicate with the compiler using pragma directive.
-
In previous articles we saw some compilers secrets like lambda expressions and tag dispatching in iterators.
-
One of the first mistakes that every developer does is to believe in the theoretical idea that behind “Random”.
-
The new feature C++20 provided us is partially here and can help us with our primary mission as C++ developers: Maintain the code and protect it from strangers!
-
Recently I got a chance to contribute a small change for the GCC compiler.
-
How many times you find yourself writing hard-coded numbers inside your code, while trying to make sure as much as you can to make these numbers’ units visible?
-
So you know that iterators can make your code more maintainable and to save you a lot of time.
-
Iterators can make your code maintainable and generic, but they also require an additional attention when used in a dynamic collection.
-
The old style of iterations known in many languages might be hard to maintain sometimes and won’t always do the same operation with the same efficiency.
-
One of the greatest compile-time modifications in C++ is the modifications which make Lambda Expressions what they are.
-
Every language has her own scary syntax, and lambda expressions got C++ one step forward at this category.
-
When designing an architecture you might come across a need to create a collection of a template class.
-
Substitution is part of the instantiation process, which responsible for the replacement of the template parameters with the deduced types.
-
There is a difference between creating different structures for different types, and applying algorithms at compile-time.
-
After we proved that without restrictions a generic solution can be the reason for our architecture destruction, now it’s time to talk about variadic templates restrictions from C++11 to C++20.
-
One of the basic rules of programming, is to code a single solution that will solve many problems.
-
C++ standard keep drawing attention to the metaprogramming abilities, syntax, and features.
-
One of the great abilities of metaprogramming in C++ is variadic templates.
-
Welcome to the fourth article in our C++ meta-programming series.
-
This article relates to the meta-programming series, but a bit external, and I consider it as a bonus article for beginners.
-
This is the third article in the series of meta programming tutorials.
-
This is the second article in the series of meta programming tutorials.
-
As the time goes by, C++ meta programming features keep increase and improve.
-
You got an idea, know some languages, have some techniques, so what are you waiting for?!