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

HotSpot Style Guide should permit use of lambda

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 18
    • hotspot
    • b17

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: