Chris@16: // Copyright David Abrahams 2006. Distributed under the Boost Chris@16: // Software License, Version 1.0. (See accompanying Chris@16: // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: #ifndef BOOST_DETAIL_POD_SINGLETON_DWA200655_HPP Chris@16: # define BOOST_DETAIL_POD_SINGLETON_DWA200655_HPP Chris@16: Chris@16: namespace boost { namespace detail { Chris@16: Chris@16: template Chris@16: struct pod_singleton Chris@16: { Chris@16: static T instance; Chris@16: }; Chris@16: Chris@16: template Chris@16: T pod_singleton::instance; Chris@16: Chris@16: }} // namespace boost::detail Chris@16: Chris@16: #endif // BOOST_DETAIL_POD_SINGLETON_DWA200655_HPP