Skip to content

QnA Plus

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

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

rvalue reference in C++

Posted by By Srikanta July 31, 2023Posted inProgramming, C++No Comments
The rvalue reference is probably the most significant feature introduced by C++11. Let’s quickly recap what rvalue is. It is an inherited concept from C. The expression that can appear…
Read More

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

Posts pagination

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

    Popular Posts:

    • How to Implement Periodic and Single Shot Timers in Linux? 50 views
    • Forgot Grid Pattern Lock or Password of Your Android Phone? Here Is How You Can Unlock It 46 views
    • C Program to Get a Digit at Any Position of a Number 39 views
    • Change a Variable from inside a C Function 38 views
    • C Program to Sort Linked List without Allocating Extra Memory 31 views
    • Implement Bubble Sort in C 30 views
    • Left and Right Rotate Bits of a Number in C 29 views
    • Count Occurrences of a Substring in a String in C 28 views
    • C Program to Find the Longest Word in a String 27 views
    • C Program to Sleep in Milliseconds 26 views

    💬
    Chat with Us!

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