Registry / utility / string-view-lite

string-view-lite

JSON →
library1.8.0vcpkgunverified

A C++17-like string_view for C++98, C++11 and later in a single-file header-only library

vcpkg install string-view-lite
INSTALL
IMPORT
SIG · STRING-VIEW-LITE
S
string-view-lite
utilitycppv1.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

nonstd/string_view.hpp
✓ #include <nonstd/string_view.hpp>

Creates a string_view and prints a substring.

#include <nonstd/string_view.hpp> #include <iostream> int main() { nonstd::string_view sv = "Hello, world!"; std::cout << sv.substr(0, 5) << '\n'; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.8.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
18
Resources

No resource links recorded.

string-view-lite — pip install string-view-lite · libregistry