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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user