Ticket #4226 (closed Feature Requests: fixed)

Opened 7 years ago

Last modified 6 years ago

operator safe bool

Reported by: psiha Owned by: neilgroves
Milestone: Boost 1.46.0 Component: range
Version: Boost 1.44.0 Severity: Optimization
Keywords: Cc:


The current implementation uses member function pointers which has known efficiency problems with the MSVC++ compilers. Either the solution from shared_ptr<> should be copied again or a reusable utility class/function/macro should be exctracted/created...

Relevant recent boost.devel discussions:


Change History

comment:1 Changed 7 years ago by neilgroves

  • Status changed from new to assigned

comment:2 Changed 6 years ago by neilgroves

  • Type changed from Bugs to Feature Requests
  • Milestone changed from Boost 1.43.0 to Boost 1.46.0

Added the 1.46 version as a milestone, and altered from a bug to a feature request since it is an optimization.

comment:3 Changed 6 years ago by neilgroves

Committed a first implementation on the trunk. The implementation of safe_bool is currently in the range_detail namespace. It is implemented with the intention to be pushed out of the range library for better reuse.

comment:4 Changed 6 years ago by anonymous

  • Status changed from assigned to closed
  • Resolution set to fixed

Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

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

Note: See TracTickets for help on using tickets.