PinnedPranay KumarinLevel Up CodingPassing smart pointers in C++Dealing with smart pointers is a daily part of any C++ programmer and how to pass them around can get tricky when you are looking to…Mar 21, 2021Mar 21, 2021
Pranay KumarinGeek CultureNext higher palindrome using the same set of digitsProblem: We are given a number N and we have to find the smallest possible palindrome greater than N that can be formed by using the same…Jun 12, 20211Jun 12, 20211
Pranay KumarThe Domain Name System: A crash course on DNS for every developerHow does DNS work? 🤔 If you ever need to set up a blog/website, this article contains all the basics of DNS, lookups and record types.Apr 3, 2021Apr 3, 2021
Pranay KumarLambdas and closures in C++A lambda function is a function that you can write inline in your source code In this article, I’ll first explain why lambdas are great…Mar 8, 2021Mar 8, 2021
Pranay Kumarinpranayaggarwal25Object construction order in case of virtual and/or multiple inheritanceHow does virtual vs. mutiple inheritance affect class object construction order?Jul 3, 2020Jul 3, 2020
Pranay Kumarinpranayaggarwal25Using Modern C++ class members and initializations the right wayUsing In-member initialization, using constructors smartly and using class members functions in a safe and proper way to avoid mistakesJul 3, 2020Jul 3, 2020
Pranay Kumarinpranayaggarwal25Few Modern C++ PuzzlesSome puzzles from various talks, blog posts, and other bitsJun 15, 2020Jun 15, 2020
Pranay Kumarinpranayaggarwal25Coroutines and their introduction in C++What are coroutines and how C++20 is introducing themMay 30, 20201May 30, 20201
Pranay Kumarinpranayaggarwal25Using custom deleters with shared_ptr and unique_ptr in C++How to use a custom deleter with an std::unique_ptr and std::shared_ptrMay 29, 20201May 29, 20201
Pranay Kumarinpranayaggarwal25Universal Reference and Perfect forwardingForwarding referenceApr 11, 2020Apr 11, 2020