What's the most hilarious use of operator overloading you've seen?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Open-Source Vulkan C++ API

    Open-Source Vulkan C++ API

  • For a real-life example: consider the vk::raii namespace of Vulkan-Hpp, where the developers have posted examples. The vk::raii::su namespace has a bunch of free functions that one might think are associated with a Vulkan instance/object (in fact, the Vulkan Tutorial does implement them as member functions), but they are much nicer when used as pure functions. It keeps the class/struct definition itself nice and clean.

  • compile-time-regular-expressions

    Compile Time Regular Expression in C++

  • operator"" can be used in a similar way to expression templates (DSLs), where the type of the resulting expression is dependent on the string contents. For example ctre makes use of this to build efficient regular expression parsers, and kumi uses this in conjunction with operator[] to make tuple indexing quite elegant

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • kumi

    C++20 Compact Tuple Tools

  • operator"" can be used in a similar way to expression templates (DSLs), where the type of the resulting expression is dependent on the string contents. For example ctre makes use of this to build efficient regular expression parsers, and kumi uses this in conjunction with operator[] to make tuple indexing quite elegant

  • FizzBuzz Enterprise Edition

    FizzBuzz Enterprise Edition is a no-nonsense implementation of FizzBuzz made by serious businessmen for serious business purposes.

  • And there's a reason why FizzBuzzEnterpriseEdition is a meme. OOP where OOP shouldn't exist is what is causing unnecessary pain to everyone.

  • hissp

    It's Python with a Lissp.

  • If you want Python to be as customizable as Lissp, check out Hissp (and Hebigo).

  • hebigo

    蛇語(HEH-bee-go): An indentation-based skin for Hissp.

  • If you want Python to be as customizable as Lissp, check out Hissp (and Hebigo).

  • IdOp

    C++ Custom Operator Library

  • github was only a year old when I made this and it didn't become popular until a few years later. I do have it there but all the docs are hosted on my site https://github.com/cogwheel/IdOp

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • What is the point of the if __name__ == "__main__":, i.e. why use a file as both script and module?

    2 projects | /r/learnpython | 26 Jun 2023
  • Kamby – A programming language based on Lisp that doesn't seems like Lisp

    2 projects | news.ycombinator.com | 7 Sep 2022
  • Wisp: Whitespace to Lisp

    2 projects | news.ycombinator.com | 8 Aug 2022
  • Is ECMAScript really a dialect of Lisp?

    2 projects | /r/codehunter | 15 May 2022
  • I'm finding this language very hard to understand, even the things I write

    1 project | /r/Clojure | 12 Aug 2021