Allen Bierbaum wrote: > I just tried to use boost::variant with the HEAD version of boost and I > am getting multiply defined symbols in empty.hpp. (gcc 3.2 on Linux) > > I fixed it by adding "inline" to the two non-template methods (see below): > > inline bool operator==(const empty&, const empty&) > { > return true; > } > > inline bool operator<(const empty&, const empty&) > { > return false; > } > > > Is this a bug in the code or is there some other way to wrok around it?
Not sure, but I inlined the functions anyway since they're so simple. Let me know if you have any further problems. Thanks, Eric _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost