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

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 inC, ProgrammingNo 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

How to Implement Smart Pointer in C++?

Posted by By Srikanta April 29, 2016Posted inProgramming, C++3 Comments
What is Smart Pointer in C++? From the name we can imagine that there is something smart about these smart pointers over normal ones. When we talk about pointers we…
Read More

Posts pagination

Previous page 1 … 9 10 11
Categories
  • Programming 186
    • C 105
    • C++ 70
    • Python 7
  • Technology 30
  • Networking 6
  • Database 4
  • Others 8

    Popular Posts:

    • Implement Bubble Sort in C 99 views
    • How to install Ping or Ping6 using YUM 82 views
    • C Program to Sleep in Milliseconds 64 views
    • How to Implement Periodic and Single Shot Timers in Linux? 63 views
    • How to Install and Configure MySQL on CentOS: A Complete Guide 45 views
    • How to do Asynchronous Operations using boost::asio? 40 views
    • Change a Variable from inside a C Function 40 views
    • How to Store SVN Password in Encrypted Form in Linux 38 views
    • C++ | Binding a Member Function 35 views
    • How to Re-Indent C Code Using Notepad++ 34 views

    💬
    Chat with Us!

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