s += *tptr++;
}
}
-
+A_DLL_DECL
A::operator std::size_t () const {
std::size_t retval = 0;
accumulate(retval, b);
#if defined(_MSC_VER)
#pragma warning(push) // Save warning settings.
#pragma warning(disable : 4244) // Disable possible loss of data warning
+#endif
-#endif
+A_DLL_DECL
A::A() :
b(true),
#ifndef BOOST_NO_INT64_T
#pragma warning(pop) // Restore warnings to previous state.
#endif
-bool A::operator==(const A &rhs) const
-{
+A_DLL_DECL bool
+A::operator==(const A &rhs) const {
if(b != rhs.b)
return false;
if(l != rhs.l)
return true;
}
-bool A::operator!=(const A &rhs) const
-{
+A_DLL_DECL bool
+A::operator!=(const A &rhs) const {
return ! (*this == rhs);
}
-bool A::operator<(const A &rhs) const
-{
+A_DLL_DECL bool
+A::operator<(const A &rhs) const {
if(b != rhs.b)
return b < rhs.b;
#ifndef BOOST_NO_INT64_T