Christopher Smith on Fri, 15 Oct 2004 15:30:29 -0500 (CDT) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [ALACPP] A bug in boost. |
Mohammed Iqbal wrote:
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???
Probably because the function signature changed. Easy syntactical mistakes like this are made by everyone. That's why God invented compilers. ;-)
--Chris _______________________________________________ alacpp mailing list alacpp@xxxxxxxxxxx http://lists.ellipsis.cx/mailman/listinfo/alacpp