@@ -88,11 +88,11 @@ class TextView : public std::string_view {
88
88
* to @c char @c const @c * and @c size_t respectively.
89
89
*/
90
90
template < typename C
91
- , typename = typename std::enable_if <
91
+ , typename = std::enable_if_t <
92
92
std::is_convertible_v<decltype(std::declval<C>().data()), char const *> &&
93
93
std::is_convertible_v<decltype(std::declval<C>().size()), size_t >
94
94
, void
95
- >::type
95
+ >
96
96
> constexpr TextView (C const & c);
97
97
98
98
/* * Construct from literal string or array.
@@ -180,7 +180,7 @@ class TextView : public std::string_view {
180
180
// / Explicitly set the view from a @c std::string
181
181
self_type &assign (std::string const &s);
182
182
183
- /* * Assogm from any character container following STL standards.
183
+ /* * Assign from any character container following STL standards.
184
184
*
185
185
* @tparam C Container type.
186
186
* @param c container
@@ -189,11 +189,11 @@ class TextView : public std::string_view {
189
189
* to @c char @c const @c * and @c size_t respectively.
190
190
*/
191
191
template < typename C
192
- , typename = typename std::enable_if <
192
+ , typename = std::enable_if_t <
193
193
std::is_convertible_v<decltype(std::declval<C>().data()), char const *> &&
194
194
std::is_convertible_v<decltype(std::declval<C>().size()), size_t >
195
195
, void
196
- >::type
196
+ >
197
197
> constexpr self_type & assign (C const & c) {
198
198
return this ->assign (c.data (), c.size ());
199
199
}
0 commit comments