1// Copyright David Abrahams 2006. Distributed under the Boost
2// Software License, Version 1.0. (See accompanying
3// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4#ifndef BOOST_DETAIL_POD_SINGLETON_DWA200655_HPP
5# define BOOST_DETAIL_POD_SINGLETON_DWA200655_HPP
6
7namespace boost { namespace detail {
8
9template<typename T>
10struct pod_singleton
11{
12 static T instance;
13};
14
15template<typename T>
16T pod_singleton<T>::instance;
17
18}} // namespace boost::detail
19
20#endif // BOOST_DETAIL_POD_SINGLETON_DWA200655_HPP
21

source code of include/boost/accumulators/numeric/detail/pod_singleton.hpp