added get_string_adaptor as a slightly less typing version of using get_param to pull it

This commit is contained in:
jez 2008-07-16 09:08:59 +01:00
parent 707cd47f41
commit ce8fb28f5f

View file

@ -39,6 +39,15 @@ struct get_param
}; };
#endif #endif
template <typename string_type, typename T0, typename T1>
struct get_string_adaptor
{
typedef typename get_param<Arabica::string_adaptor_tag,
Arabica::default_string_adaptor<string_type>,
T0,
T1>::type type;
};
} // namespace Arabica } // namespace Arabica
#endif #endif