• Home
  • About Me
  • Privacy Policy

language features

Quick Tip: Its Time to Avoid the Frustration of Single Return Types in C++

When designing a new API one of the things I put a lot of thought into is how the user will know if the API call was successful or not. std::tuple and std::tie are two useful C++ features that can help you return multiple values from a function.

Quick Tip: Improve Code Readability By Using C++17’s New Structured Bindings

C++17 introduced a language feature called "structured bindings" which can make your life a lot easier when dealing with accessing elements of an object!

Affiliate Disclosure

This website contains affiliate links to help support Consciously Code. When you purchase something through one of our sponsored posts or advertisements, we’ll receive a commission that helps fund the valuable content on this site! You pay the same price as normal while at the same time helping us create additional content you crave. We sincerely thank you for your support!

Copyright © 2023 Consciously Code. All rights reserved. Theme by Mynote.