util/StringPointer: add typedef reference_type

This commit is contained in:
Max Kellermann
2016-04-12 22:53:45 +02:00
parent 9b85446808
commit c75b9b0d12
2 changed files with 4 additions and 0 deletions

View File

@@ -44,6 +44,8 @@ template<typename T=char>
class AllocatedString {
public:
typedef typename StringPointer<T>::value_type value_type;
typedef typename StringPointer<T>::reference_type reference_type;
typedef typename StringPointer<T>::const_reference_type const_reference_type;
typedef typename StringPointer<T>::pointer_type pointer_type;
typedef typename StringPointer<T>::const_pointer_type const_pointer_type;