2
0
mirror of https://github.com/boostorg/variant.git synced 2026-02-13 00:52:10 +00:00

Borland 5.51 workaround.

[SVN r19132]
This commit is contained in:
Eric Friedman
2003-07-16 00:30:42 +00:00
parent d72c9b904f
commit 457c1545ef

View File

@@ -339,6 +339,14 @@ private: // helpers, for visitor interfaces (below)
return visitor_(operand);
}
#if BOOST_WORKAROUND(__BORLANDC__, <= 0x0551)
template <typename T>
result_type visit(const T& operand)
{
return visitor_(operand);
}
#endif
#else // defined(BOOST_NO_VOID_RETURNS)
template <typename T>