PinnedInLevel Up CodingbyPranay Kumar·Mar 21, 2021Passing 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…
InGeek CulturebyPranay Kumar·Jun 12, 2021Next 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…A response icon1A response icon1
Pranay Kumar·Apr 3, 2021The 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.
Pranay Kumar·Mar 8, 2021Lambdas 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…
Inpranayaggarwal25byPranay Kumar·Jul 3, 2020Object construction order in case of virtual and/or multiple inheritanceHow does virtual vs. mutiple inheritance affect class object construction order?
Inpranayaggarwal25byPranay Kumar·Jul 3, 2020Using 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 mistakes
Inpranayaggarwal25byPranay Kumar·Jun 15, 2020Few Modern C++ PuzzlesSome puzzles from various talks, blog posts, and other bits
Inpranayaggarwal25byPranay Kumar·May 30, 2020Coroutines and their introduction in C++What are coroutines and how C++20 is introducing themA response icon1A response icon1
Inpranayaggarwal25byPranay Kumar·May 29, 2020Using custom deleters with shared_ptr and unique_ptr in C++How to use a custom deleter with an std::unique_ptr and std::shared_ptrA response icon1A response icon1
Inpranayaggarwal25byPranay Kumar·Apr 11, 2020Universal Reference and Perfect forwardingForwarding referenceA response icon1A response icon1