string-view-lite
Nameof C++
string-view-lite | Nameof C++ | |
---|---|---|
2 | 5 | |
401 | 1,956 | |
- | - | |
4.1 | 6.3 | |
4 months ago | 4 months ago | |
C++ | C++ | |
Boost Software License 1.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
string-view-lite
-
Is there a std::string::split or something similar?
There are plenty of polyfill libraries that exist for std features like this. I strongly recommend using an existing one that attempts to match the standard closely. For example this one.
-
Use const char* or std::string for string literals?
I see that there is this https://github.com/martinmoene/string-view-lite. Might use it in our project going forward.
Nameof C++
What are some alternatives?
ring-span-lite - ring-span lite - A C++yy-like ring_span type for C++98, C++11 and later in a single-file header-only library
Magic Enum C++ - Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
semver - Semantic Versioning for modern C++
smf - Fastest RPC in the west
span-lite - span lite - A C++20-like span for C++98, C++11 and later in a single-file header-only library
Bitsery - Your binary serialization library
doctest - The fastest feature-rich C++11/14/17/20/23 single-header testing framework
LeapSerial - The Leap Motion cross-format, cross-platform declarative serialization library
SBE - Simple Binary Encoding (SBE) - High Performance Message Codec
protobuf-c - Protocol Buffers implementation in C
cppcodec - Header-only C++11 library to encode/decode base64, base64url, base32, base32hex and hex (a.k.a. base16) as specified in RFC 4648, plus Crockford's base32. MIT licensed with consistent, flexible API.
Protobuf - Protocol Buffers - Google's data interchange format