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:

    • Implement Bubble Sort in C 114 views
    • C Program to Sleep in Milliseconds 91 views
    • How to install Ping or Ping6 using YUM 86 views
    • How to Implement Periodic and Single Shot Timers in Linux? 84 views
    • Change a Variable from inside a C Function 56 views
    • C Program to Check Whether Two String are Equal 51 views
    • C Program to Find the Longest Word in a String 48 views
    • How to Store SVN Password in Encrypted Form in Linux 45 views
    • How to Re-Indent C Code Using Notepad++ 41 views
    • How to do Asynchronous Operations using boost::asio? 39 views

    💬
    Chat with Us!

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