Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8264707

HotSpot Style Guide should permit use of lambda

XMLWordPrintable

    • b17

      Lambda expressions are a new (in C++11) syntax for anonymous function objects. They are much more expressive than function object classes for many use-cases, particularly for small local functions. A simple function object class might require 1/2 dozen to a dozen LOC, much of which is ceremonial boiler plate. Such a class might often be replaced by 1-2 actually interesting LOC by using a lambda expression.

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: