Opened 15 years ago

Closed 15 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()

Change History (1)

comment:1 by Jonathan Turkanis, 15 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.