Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:28:19

0001 // Copyright David Abrahams 2006. Distributed under the Boost
0002 // Software License, Version 1.0. (See accompanying
0003 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0004 #ifndef BOOST_DETAIL_POD_SINGLETON_DWA200655_HPP
0005 # define BOOST_DETAIL_POD_SINGLETON_DWA200655_HPP
0006 
0007 namespace boost { namespace detail {
0008 
0009 template<typename T>
0010 struct pod_singleton
0011 {
0012     static T instance;
0013 };
0014 
0015 template<typename T>
0016 T pod_singleton<T>::instance;
0017 
0018 }} // namespace boost::detail
0019 
0020 #endif // BOOST_DETAIL_POD_SINGLETON_DWA200655_HPP