Skip to content
QnA Plus

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

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

C++

  • Home
  • Programming
  • C++
  • Page 6

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

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

Posts pagination

Previous page 1 … 4 5 6 7 8 … 14 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 102 views
    • How to install Ping or Ping6 using YUM 89 views
    • C Program to Sleep in Milliseconds 68 views
    • How to Implement Periodic and Single Shot Timers in Linux? 62 views
    • Change a Variable from inside a C Function 46 views
    • C Program to Check Whether Two String are Equal 46 views
    • How to Install and Configure MySQL on CentOS: A Complete Guide 46 views
    • How to do Asynchronous Operations using boost::asio? 40 views
    • How to Re-Indent C Code Using Notepad++ 37 views
    • C++ | Binding a Member Function 36 views

    💬
    Chat with Us!

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