Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/re2/stringpiece.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Copyright 2022 The RE2 Authors.  All Rights Reserved.
0002 // Use of this source code is governed by a BSD-style
0003 // license that can be found in the LICENSE file.
0004 
0005 #ifndef RE2_STRINGPIECE_H_
0006 #define RE2_STRINGPIECE_H_
0007 
0008 #include "absl/strings/string_view.h"
0009 
0010 namespace re2 {
0011 
0012 // Until RE2 requires C++17 and uses std::string_view, allow users to
0013 // continue to #include "re2/stringpiece.h" and use re2::StringPiece.
0014 using StringPiece = absl::string_view;
0015 
0016 }  // namespace re2
0017 
0018 #endif  // RE2_STRINGPIECE_H_