#21 Debug build on MS VS 2005

open
nobody
None
5
2006-07-20
2006-07-20
No

MS VS2005 is checking the order of vectors in debug
builds, so there is an extra ftor required for OIDLessThan:

struct OIDLessThan
{
template <typename T>
inline bool operator() (const
EcRecommendedParameters<T>& a, const OID& b) const
{return a.oid < b;}
template <typename T>
inline bool operator() (const OID& a, const
EcRecommendedParameters<T>& b) const {return a < b.oid;}
// only for debug build on VS2005
template <typename T>
inline bool operator() (const
EcRecommendedParameters<T>& a, const
EcRecommendedParameters<T>& b) const
{return a.oid < b.oid;}
};

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks