5 #ifndef ODB_TR1_WRAPPER_TRAITS_HXX
6 #define ODB_TR1_WRAPPER_TRAITS_HXX
10 #include <odb/details/config.hxx>
15 #if !(defined(ODB_CXX11) && defined(_MSC_VER))
38 typename odb::details::meta::remove_const<T>::result
41 static const bool null_handler =
true;
42 static const bool null_default =
false;
56 static const wrapped_type&
62 static unrestricted_wrapped_type&
73 #endif // !(ODB_CXX11 && _MSC_VER)
77 #endif // ODB_TR1_WRAPPER_TRAITS_HXX
static void set_null(wrapper_type &p)
Definition: tr1/wrapper-traits.hxx:51
static bool get_null(const wrapper_type &p)
Definition: tr1/wrapper-traits.hxx:45
std::tr1::shared_ptr< T > wrapper_type
Definition: tr1/wrapper-traits.hxx:33
Definition: wrapper-traits.hxx:20
T wrapped_type
Definition: tr1/wrapper-traits.hxx:32
odb::details::meta::remove_const< T >::result unrestricted_wrapped_type
Definition: tr1/wrapper-traits.hxx:39
static unrestricted_wrapped_type & set_ref(wrapper_type &p)
Definition: tr1/wrapper-traits.hxx:63
static const wrapped_type & get_ref(const wrapper_type &p)
Definition: tr1/wrapper-traits.hxx:57