mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-30 08:38:15 +01:00
added get_string_adaptor as a slightly less typing version of using get_param to pull it
This commit is contained in:
parent
707cd47f41
commit
ce8fb28f5f
1 changed files with 9 additions and 0 deletions
|
@ -39,6 +39,15 @@ struct get_param
|
|||
};
|
||||
#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
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue