C++C++17C++20Learn C++SyntaxTemplates

How To Use void_t Alias Template in C++ 17?

In C++ 17, there is a very useful alias template for metaprogramming that can be used to simplify use of SFINAE. The void_tis a meta-function that is used to map any types ( or types) to typevoid. In this post, we explain what is void_t, how you can use it in different examples. What is alias template void_t in C++ 17? The void_t is an alias template which is introduced with…
Read more
C++Introduction to C++Language FeatureLearn C++

How To: Use Variables In C++ Programming

Variables are containers for storing data values in different types. These values are mostly stored in the memory location (RAM) of device (PC, tablet, mobile, IoT…). A variable can be defined in it’s type and with it’s name with a given value, this variable name can be used to read it’s value in memory location or to write a new value in to this memory location. Type of…
Read more