Patches so that we can build successfully without Boost.

This commit is contained in:
jez 2008-06-26 13:34:00 +00:00
parent 7d18ff59d0
commit 508536ee27
2 changed files with 8 additions and 2 deletions

View file

@ -26,10 +26,16 @@ struct get_param
>::type type;
}; // get_param
#else
template <typename T0, typename DefaultT>
struct chosen_type { typedef T0 type; };
template <typename DefaultT>
struct chosen_type<Arabica::nil_t, DefaultT> { typedef DefaultT type; };
template <typename BaseT, typename DefaultT, typename T0, typename T1>
struct get_param
{
typedef T0 type;
typedef typename chosen_type<T0, DefaultT>::type type;
};
#endif

View file

@ -69,7 +69,7 @@ namespace SAX
template<class string_type, class T0 = Arabica::nil_t, class T1 = Arabica::nil_t>
#else
#ifndef USE_MSXML
template<class string_type, class T0 = Arabica::default_string_adaptor<string_type>, class T1 = Arabica::nil_t>
template<class string_type, class T0 = Arabica::nil_t, class T1 = Arabica::nil_t>
#else
template<class string_type, class T0 = Arabica::default_string_adaptor<string_type>, class T1 = SAX::COMSingleThreadInitializer>
#endif