C++C++11C++14C++17Learn C++Syntax

What Is An Extended Friend Declaration in Modern C++?

In modern C++ the standards have a wonderfully named extended friend declaration feature to address the class declarations which is a template parameter as a friend. This extended friend declaration is available with the C++ compiler that has C++11 and above standards. In this post, we explain a friend and extended friend declaration in modern C++. What is a friend declaration in modern…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

What is the std namespace in C++?

What is namespace std in C++? What does namespace mean for a C++ compiler? How can we define a namespace in C++ IDE? Why don’t we use “using namespace std;” in C++ Builder? How can I use the std namespace? How can I define my own namespace? Let’s answer these questions. What is a namespace in C++? Namespaces in C++ (namespace) allow users to group named entities…
Read more