forked from boostorg/tuple
made "ingnore" a const object to avoid linker errors
[SVN r20449]
This commit is contained in:
@ -589,9 +589,7 @@ struct swallow_assign {
|
|||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
|
||||||
// "ignore" allows tuple positions to be ignored when using "tie".
|
// "ignore" allows tuple positions to be ignored when using "tie".
|
||||||
namespace {
|
detail::swallow_assign const ignore = detail::swallow_assign();
|
||||||
detail::swallow_assign ignore;
|
|
||||||
}
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
// The call_traits for make_tuple
|
// The call_traits for make_tuple
|
||||||
|
@ -838,12 +838,8 @@ namespace tuples {
|
|||||||
detail::assign_to_pointee<T10>(&t10));
|
detail::assign_to_pointee<T10>(&t10));
|
||||||
}
|
}
|
||||||
// "ignore" allows tuple positions to be ignored when using "tie".
|
// "ignore" allows tuple positions to be ignored when using "tie".
|
||||||
namespace {
|
|
||||||
#if (defined(BOOST_MSVC) && BOOST_MSVC <= 1300) || (defined(__DECCXX_VER) && __DECCXX_VER <= 60590031)
|
detail::swallow_assign const ignore = detail::swallow_assign();
|
||||||
static
|
|
||||||
#endif
|
|
||||||
detail::swallow_assign ignore;
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace tuples
|
} // namespace tuples
|
||||||
} // namespace boost
|
} // namespace boost
|
||||||
|
Reference in New Issue
Block a user