Skip to content

QnA Plus

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

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

std::weak_ptr in C++

Posted by By Srikanta March 18, 2024Posted inProgramming, C++No Comments
The std::weak_ptr is part of the smart pointer family introduced in C++11 which holds a non-owning reference to an object managed by other std::shared_ptrs. It does not own the object,…
Read More

std::async – Execute a Function Asynchronously

Posted by By Srikanta October 12, 2023Posted inProgramming, C++No Comments
The function template, std::async, allows us to run a function (possibly time consuming) asynchronously. The actual function, that needs to be executed asynchronously, is passed to this std::sync. The std::sync…
Read More

C++ Promise and Future

Posted by By Srikanta September 19, 2023Posted inProgramming, C++No Comments
C++11 introduced the concept of promise and future to a provide synchronization point between threads by sharing objects. The promise object owner (the producer thread) promises to produce a value…
Read More

std::move vs std::forward

Posted by By Srikanta August 13, 2023Posted inProgramming, C++1 Comment
The std::move and std::forward are used to serve two different purposes. The std::move enables move semantic for efficient resource transfer from one object to another. Whereas, the std::forward is used…
Read More

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

Posts pagination

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

    Popular Posts:

    • C Program to Get a Digit at Any Position of a Number 68 views
    • Implement Bubble Sort in C 45 views
    • How to install Ping or Ping6 using YUM 44 views
    • How to Implement Periodic and Single Shot Timers in Linux? 39 views
    • Count Occurrences of a Substring in a String in C 38 views
    • Change a Variable from inside a C Function 32 views
    • Understanding the override Keyword in C++ 31 views
    • Method Chaining in C++ 29 views
    • Stock Analysis on Google Sheet 27 views
    • Left and Right Rotate Bits of a Number in C 26 views

    [chatbot_plugin]

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