Modify

Opened 10 years ago

Closed 10 years ago

#1553 closed Bugs (fixed)

restrict() unusable on platforms that treat "restrict" as a keyworld (as in C99)

Reported by: Jonathan Turkanis Owned by: Jonathan Turkanis
Milestone: Boost 1.36.0 Component: iostreams
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

An example is IBM Visual Age.

Possible solutions are one or more of the following:

  1. Provide a macro which when defined suppresses the restrict() function
  2. Provide an alias restrict_()
  3. Provide an alias xxx() where xxx is a good descriptive name
  4. Rename restrict()

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by Jonathan Turkanis

Resolution: fixed
Status: newclosed

"slice" is now an alias for restrict. See [42565].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonathan Turkanis.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.