Opened 15 years ago

Closed 15 years ago

#911 closed Patches (fixed)

[bind] inline placeholder macro

Reported by: daniel_walker@… Owned by: Peter Dimov
Milestone: Boost 1.35.0 Component: bind
Version: None Severity: Optimization
Keywords: Cc:

Description (last modified by Dave Abrahams)

This patch introduces and documents a macro to enable placeholders implemented as inline functions instead of static objects for compilers other than borland and g++ <= 4.0. Also, it gives g++ > 4.0 static object placeholders by default. This is important for the TR1 CopyConstructible requirement and for practical reasons when implementing operator overloads for placeholders. Finally, the patch also introduces a macro containing gcc's complete version number for convenient use with BOOST_WORKAROUND. See mailing list thread archived at http://tinyurl.com/yqvp8y.

Change History (6)

comment:1 by Dave Abrahams, 15 years ago

Cc: pdimov@… added
Description: modified (diff)
Reporter: changed from daniel_walker to daniel_walker@…
Severity: Showstopper

CXan't reassign to Peter until he sets up his email as described in TicketWorkflow.

comment:2 by Peter Dimov, 15 years ago

Cc: pdimov@… removed
Owner: changed from nobody to Peter Dimov
Severity: ShowstopperOptimization
Status: assignednew

comment:3 by Peter Dimov, 15 years ago

Status: newassigned

comment:4 by Peter Dimov, 15 years ago

Component: Nonebind

comment:5 by Peter Dimov, 15 years ago

Milestone: Boost 1.35.0

Applied a minimalistic version to CVS HEAD. Will close after a few test cycles.

comment:6 by Peter Dimov, 15 years ago

Resolution: Nonefixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.