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?


Thanks,
Allen

--
-- Allen Bierbaum                         [EMAIL PROTECTED]
-- Research Assistant and PhD Candidate
-- VR Juggler Team                              www.vrjuggler.org
-- Virtual Reality Applications Center       www.vrac.iastate.edu

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to