mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
ue2_literal: define npos in ue2string.cpp
This commit is contained in:
parent
85c8822dd1
commit
012b347284
@ -237,6 +237,8 @@ ue2_literal::elem::operator CharReach () const {
|
||||
}
|
||||
}
|
||||
|
||||
const ue2_literal::size_type ue2_literal::npos = std::string::npos;
|
||||
|
||||
ue2_literal::ue2_literal(const std::string &s_in, bool nc_in)
|
||||
: s(nc_in ? toUpperString(s_in) : s_in), nocase(s_in.size()) {
|
||||
if (nc_in) {
|
||||
|
@ -138,7 +138,8 @@ public:
|
||||
|
||||
using const_reverse_iterator = std::reverse_iterator<const_iterator>;
|
||||
using size_type = std::string::size_type;
|
||||
static const size_type npos = std::string::npos;
|
||||
|
||||
static const size_type npos;
|
||||
|
||||
ue2_literal() = default;
|
||||
ue2_literal(const std::string &s_in, bool nc_in);
|
||||
|
Loading…
x
Reference in New Issue
Block a user