/*============================================================================= Copyright (c) 2011-2014 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =============================================================================*/ #ifndef SPROUT_MEMORY_OBSERVER_PTR_HPP #define SPROUT_MEMORY_OBSERVER_PTR_HPP #include #include namespace sprout { // // make_observer // template inline SPROUT_CONSTEXPR sprout::exempt_ptr make_observer(T* p) SPROUT_NOEXCEPT { return sprout::exempt_ptr(p); } #if SPROUT_USE_TEMPLATE_ALIASES // // observer_ptr // template using observer_ptr = sprout::exempt_ptr; #endif // #if SPROUT_USE_TEMPLATE_ALIASES } // namespace sprout #endif // #ifndef SPROUT_MEMORY_OBSERVER_PTR_HPP