File indexing completed on 2025-11-03 09:39:55
0001 
0002 
0003 
0004 
0005 #ifndef VOID_RETURN_DWA200274_HPP
0006 # define VOID_RETURN_DWA200274_HPP
0007 
0008 # include <boost/config.hpp>
0009 
0010 namespace boost { namespace python { namespace detail { 
0011 
0012 struct void_return
0013 {
0014     void_return() {}
0015  private: 
0016     void operator=(void_return const&);
0017 };
0018 
0019 template <class T>
0020 struct returnable
0021 {
0022     typedef T type;
0023 };
0024 
0025 # ifdef BOOST_NO_VOID_RETURNS
0026 template <>
0027 struct returnable<void>
0028 {
0029     typedef void_return type;
0030 };
0031 
0032 #  ifndef BOOST_NO_CV_VOID_SPECIALIZATIONS
0033 template <> struct returnable<const void> : returnable<void> {};
0034 template <> struct returnable<volatile void> : returnable<void> {};
0035 template <> struct returnable<const volatile void> : returnable<void> {};
0036 #  endif
0037 
0038 # endif 
0039 
0040 }}} 
0041 
0042 #endif