Tags C++Programming C++17: constexpr if admin December 17, 2017 constexpr if is another nice little feature in C++17, which significantly simplifies the way we code, especially in the context
Tags C++Programming C++17: std::any admin December 3, 2017 In the previous two posts, I talked about std::variant<> and std::optional<>. Today, I want to take up std::any for discussion.
Tags C++Programming C++17: std::optional<> admin November 21, 2017 Suppose we want to write a function that returns a value, but with the possibility that the computation might fail.
Tags C++Programming C++17: std::variant<> admin November 5, 2017 C++17 introduces a new type-safe union in the form of std::variant. At any time, it can store a single value
Tags C++Programming C++17: Initialization in Selection Statements admin October 21, 2017 C++17 enhances if and switch statements with the ability to define variables whose life-time is limited to the corresponding scope.
Tags AstrologyC++ KP Astrology REST API admin August 30, 2017 In today’s post I want to share my experience in implementing a set of REST API calls for Astrology. The
Tags C++Programming C++14: Return Type Deduction for Normal Functions admin April 8, 2016 In C++11, a function must specify its return type in one of the following two ways: int aFunction(int arg) {
Tags C++MusicProgramming User-defined Literals in C++ admin March 27, 2016 C++11 introduced user-defined literals, allowing programmers to define special suffixes that can be associated with the built-in literal types: character,