Skip to content

QnA Plus

Code, Create, Conquer: Insights, Algorithms, and Innovation

  • Home
  • Privacy Policy
  • Terms and Conditions
  • Contact
  • Contribute
  • About

std::forward, Perfect Forwarding of Parameters

Posted by By Srikanta July 28, 2023Posted inProgramming, C++No Comments
C++11 introduced the std::forward to preserve the value category (lvalue or rvalue) of a cv-unqualified function template parameter, that is declared as an rvalue reference, in time of passing that…
Read More

Assignment Operator Overloading in C++

Posted by By Srikanta July 24, 2023Posted inProgramming, C++No Comments
In C++, we can overload an operator for a user defined class to change its default behavior. C++ provides a default assignment operator, "=", that provides member by member copy.…
Read More

Move Assignment Operator in C++

Posted by By Srikanta July 21, 2023Posted inProgramming, C++No Comments
Just like a move constructor, the move assignment operator also makes a class movable. A movable class enables efficient resource transfer from one object to another. Let's start with an…
Read More

Move Constructor, Enabling Efficient Resource Transfer in C++

Posted by By Srikanta July 21, 2023Posted inProgramming, C++No Comments
From C++11, in addition to a copy constructor, we can have another special constructor called move constructor. The move constructor makes a class movable that enables efficient resource transfer. Let's…
Read More

Copy Constructor in C++

Posted by By Srikanta July 20, 2023Posted inProgramming, C++No Comments
Copy constructor is a special constructor of a class that gets called when an object is initialized from another object. If we don't create a copy constructor, the compiler will…
Read More

Posts pagination

Previous page 1 … 5 6 7 8 9 … 45 Next page
Categories
  • Programming 186
    • C 105
    • C++ 70
    • Python 7
  • Technology 30
  • Networking 6
  • Database 4
  • Others 8

    Popular Posts:

    • Implement Bubble Sort in C 108 views
    • How to install Ping or Ping6 using YUM 94 views
    • C Program to Sleep in Milliseconds 78 views
    • How to Implement Periodic and Single Shot Timers in Linux? 74 views
    • Change a Variable from inside a C Function 51 views
    • C Program to Check Whether Two String are Equal 48 views
    • How to Install and Configure MySQL on CentOS: A Complete Guide 42 views
    • C++ | Binding a Member Function 41 views
    • How to Re-Indent C Code Using Notepad++ 39 views
    • How to do Asynchronous Operations using boost::asio? 38 views

    💬
    Chat with Us!

    Copyright © 2015 - 2025 QnA Plus. All rights reserved.
    Scroll to Top
    0
    0
    0
    0
    0
    0