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
|
||||
|
||||
// "ignore" allows tuple positions to be ignored when using "tie".
|
||||
namespace {
|
||||
detail::swallow_assign ignore;
|
||||
}
|
||||
detail::swallow_assign const ignore = detail::swallow_assign();
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// The call_traits for make_tuple
|
||||
|
@ -838,12 +838,8 @@ namespace tuples {
|
||||
detail::assign_to_pointee<T10>(&t10));
|
||||
}
|
||||
// "ignore" allows tuple positions to be ignored when using "tie".
|
||||
namespace {
|
||||
#if (defined(BOOST_MSVC) && BOOST_MSVC <= 1300) || (defined(__DECCXX_VER) && __DECCXX_VER <= 60590031)
|
||||
static
|
||||
#endif
|
||||
detail::swallow_assign ignore;
|
||||
}
|
||||
|
||||
detail::swallow_assign const ignore = detail::swallow_assign();
|
||||
|
||||
} // namespace tuples
|
||||
} // namespace boost
|
||||
|
Reference in New Issue
Block a user