Mohammed Iqbal on Fri, 15 Oct 2004 14:04:37 -0500 (CDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[ALACPP] A bug in boost.


Hi

Although Boost libraries developed by some C++ masters, some of them fell
into simple bugs that beginners fell in. Look at this function in the python
library:

template <class Key, class Value>
void setitem(object const& target, Key const& key, Value
const& value)
{
    return setitem(target, object(key), object(value));
}

The problem here is that void functions won't return anything. The function
is very simple and small. Then how did the author fall into this bug???

Mohammed

_______________________________________________
alacpp mailing list
alacpp@xxxxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/alacpp