File indexing completed on 2025-12-16 09:45:02
0001
0002 #ifndef BOOST_CONTRACT_DETAIL_INLINED_OLD_HPP_
0003 #define BOOST_CONTRACT_DETAIL_INLINED_OLD_HPP_
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #include <boost/contract/old.hpp>
0014 #include <boost/contract/detail/declspec.hpp>
0015
0016 namespace boost { namespace contract {
0017
0018 BOOST_CONTRACT_DETAIL_DECLINLINE
0019 old_value null_old() { return old_value(); }
0020
0021 BOOST_CONTRACT_DETAIL_DECLINLINE
0022 old_pointer make_old(old_value const& old) {
0023 return old_pointer(0, old);
0024 }
0025
0026 BOOST_CONTRACT_DETAIL_DECLINLINE
0027 old_pointer make_old(virtual_* v, old_value const& old) {
0028 return old_pointer(v, old);
0029 }
0030
0031 } }
0032
0033 #endif
0034