static operator() / operator[]

LanguageC++232 papers2 connections

Call and subscript operators may be static, removing the object-parameter overhead.

Papers

2 · Virtual Jul 2022 → Kona 2022

Allows operator() to be declared static, so stateless function objects and lambdas carry no this overhead.