Bug #158

avatar

property_attributes does not own getter/setter

Added by Rüdiger Sonderfeld 271 days ago. Updated 191 days ago.

Status:New Start:10/31/2009
Priority:Normal Due date:
Assigned to:avatarRüdiger Sonderfeld % Done:

0%

Category:Core
Target version:0.9.1
Severity:

Normal


Description

The getter/setter member of property_attributes (see source:include/flusspferd/property_attributes.hpp ) is of type boost::optional<function const&>. Thus the function object is not owned by property_attributes and code like this is wrong:

property_attribues foo() {
  function foo = ...;
  return property_attributes(no_property_flag, foo);
}

property_attributes should copy the function object (=> own it).

History

Updated by Rüdiger Sonderfeld 271 days ago

avatar
  • Severity changed from Major to Critical

Updated by Aristid Breitkreuz 236 days ago

avatar
  • Priority changed from Urgent to Normal
  • Severity changed from Critical to Normal

Updated by Aristid Breitkreuz 191 days ago

avatar
  • Target version changed from 0.9 to 0.9.1

Also available in: Atom PDF