Opened 15 years ago

Last modified 15 years ago

#911 closed Patches (fixed)

[bind] inline placeholder macro — at Version 1

Reported by: daniel_walker@… Owned by: nobody
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 (1)

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.

Note: See TracTickets for help on using tickets.