Ticket #2 (closed feature: fixed)

Opened 2 years ago

Last modified 2 years ago

What’s the scope of default value initializer expressions in function headers?

Reported by: fcheng Assigned to: anonymous
Type: feature Priority: major
Milestone: M0 Component: Proposals
Version: 4 Keywords:
Cc:

Description

Jeff and Lars think it should be the enclosing scope, and should not include the header itself (whether fully or partially). Probably there are use cases both ways. Lars thinks that using the enclosing scope mirrors class initializers and is therefore Nice.

Wiki location

Attachments

Change History

Changed 2 years ago by jeffdyer

  • status changed from new to closed
  • resolution set to fixed

Resolution: it should be the enclosing scope.

Note: See TracTickets for help on using tickets.