Opened 18 years ago
Closed 18 years ago
#311 closed Bugs (Fixed)
object_protocol.hpp - setitem: void func cant return a value
| Reported by: | nobody | Owned by: | david_abrahams |
|---|---|---|---|
| Milestone: | Component: | python USE GITHUB | |
| Version: | None | Severity: | |
| Keywords: | Cc: |
Description
boost/python/object_protocol.hpp:
template <class Key, class Value>
void setitem(object const& target, Key const& key, Value
const& value)
{
return setitem(target, object(key), object(value));
}
won't compile on Tru64 Unix C++6.2
because of the return statement in a void function.
Regards,
Dario Cimafonte
Note:
See TracTickets
for help on using tickets.
