mirror of
https://github.com/boostorg/core.git
synced 2025-05-10 07:13:54 +00:00
Merge pull request #177 from ashtum/rename-base-typedef
Rename typedef `base` to `core_ev_base`
This commit is contained in:
commit
bd29e0dd15
@ -138,10 +138,10 @@ template<class T, unsigned N>
|
|||||||
class empty_value<T, N, true>
|
class empty_value<T, N, true>
|
||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC)
|
||||||
: detail::empty_value_base<T> {
|
: detail::empty_value_base<T> {
|
||||||
typedef detail::empty_value_base<T> base;
|
typedef detail::empty_value_base<T> core_ev_base;
|
||||||
#else
|
#else
|
||||||
: T {
|
: T {
|
||||||
typedef T base;
|
typedef T core_ev_base;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@ -154,26 +154,26 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
BOOST_CONSTEXPR empty_value(boost::empty_init_t)
|
BOOST_CONSTEXPR empty_value(boost::empty_init_t)
|
||||||
: base() { }
|
: core_ev_base() { }
|
||||||
|
|
||||||
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
||||||
#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
|
#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
|
||||||
template<class U, class... Args>
|
template<class U, class... Args>
|
||||||
BOOST_CONSTEXPR empty_value(boost::empty_init_t, U&& value, Args&&... args)
|
BOOST_CONSTEXPR empty_value(boost::empty_init_t, U&& value, Args&&... args)
|
||||||
: base(std::forward<U>(value), std::forward<Args>(args)...) { }
|
: core_ev_base(std::forward<U>(value), std::forward<Args>(args)...) { }
|
||||||
#else
|
#else
|
||||||
template<class U>
|
template<class U>
|
||||||
BOOST_CONSTEXPR empty_value(boost::empty_init_t, U&& value)
|
BOOST_CONSTEXPR empty_value(boost::empty_init_t, U&& value)
|
||||||
: base(std::forward<U>(value)) { }
|
: core_ev_base(std::forward<U>(value)) { }
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
template<class U>
|
template<class U>
|
||||||
BOOST_CONSTEXPR empty_value(boost::empty_init_t, const U& value)
|
BOOST_CONSTEXPR empty_value(boost::empty_init_t, const U& value)
|
||||||
: base(value) { }
|
: core_ev_base(value) { }
|
||||||
|
|
||||||
template<class U>
|
template<class U>
|
||||||
BOOST_CONSTEXPR empty_value(boost::empty_init_t, U& value)
|
BOOST_CONSTEXPR empty_value(boost::empty_init_t, U& value)
|
||||||
: base(value) { }
|
: core_ev_base(value) { }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
BOOST_CONSTEXPR const T& get() const BOOST_NOEXCEPT {
|
BOOST_CONSTEXPR const T& get() const BOOST_NOEXCEPT {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user