Skip to content
QnA Plus

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

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

C++

  • Home
  • C++
  • Page 11

Move std::unique_ptr to Pass to a Function or Assign to Another Variable

Posted by By Srikanta September 20, 2019Posted inProgramming, C++No Comments
The std::unique_ptr has unique ownership of the object it manages. That means that more than one std::unique_ptr object can not contain the managed object pointer. That’s why we can not…
Read More

Custom Deleter in std::unique_ptr

Posted by By Srikanta September 14, 2019Posted inProgramming, C++No Comments
In my previous article, we discussed how std::unique_ptr helps to avoid memory leak. By default it calls the default deleter (C++ delete operator) when the std::unique_ptr goes out of context.…
Read More

Static Members in C++ Template Class

Posted by By Srikanta August 10, 2019Posted inProgramming, CNo Comments
We generally use static members in C++ class to maintain something that is not object specific, rather class specific. For example, if we want to maintain a counter about how…
Read More

What is std::unique_ptr? How to Use std::unique_ptr?

Posted by By Srikanta March 3, 2018Posted inProgramming, C++No Comments
std::unique_ptr is a smart pointer that owns and manages another object through pointer. std::unique_ptr has unique ownership of the object. That means only one std::unique_ptr can have the ownership of…
Read More

How to do Asynchronous Operations using boost::asio?

Posted by By Srikanta March 1, 2018Posted inProgramming, C++No Comments
Boost::asio is primarily designed for accomplishing time-consuming networking I/O (Input/Output) operations in an asynchronous way. I/O operations over network usually takes considerable time to complete. In synchronous mode, if you…
Read More

Posts pagination

Previous page 1 … 9 10 11 12 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? 61 views
    • Change a Variable from inside a C Function 36 views
    • C Program to Sleep in Milliseconds 33 views
    • How to Store SVN Password in Encrypted Form in Linux 30 views
    • How to install Ping or Ping6 using YUM 30 views
    • Implement Bubble Sort in C 30 views
    • C Program to Get a Digit at Any Position of a Number 28 views
    • Linux Commnad to Search String in Files 24 views
    • How to Install and Configure MySQL on CentOS: A Complete Guide 24 views
    • Static Members in C++ Template Class 22 views

    [chatbot_plugin]

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