Skip to content
@nonstd-lite

nonstd-lite

Single-file, header-only libraries offering a migration path to post-C++98 library features via polyfills.

Post-C++98 library features via polyfills.

Repology Vcpkg

Please note that the various lite projects are standalone projects, each a single-file header-only C++ library, without any dependencies other than the standard library.

Issues of collective interest to these projects are collected in nonstd-lite.

These projects have been moved here from my personal account.

Projects:

  • active-lite – Active objects for C++11 and later.
  • any-lite – A C++17-like any, a type-safe container for single values of any type for C++98, C++11 and later.
  • atomic-lite – A C++11 atomic operations library for C++98 and later (WIP).
  • bit-lite – C++20 bit operations for C++98 and later.
  • boolean-lite – A strong boolean type for C++98 and later.
  • byte-lite – A C++17-like byte type for C++98, C++11 and later.
  • expected-lite – C++23 expected objects for C++11 and later.
  • indirect-value-lite – An indirect value-type for C++11 and later (p1950).
  • invoke-lite – C++17-like invoke() for C++98, C++11 and later (WIP).
  • jthread-lite – C++20's jthread for C++11 and later (WIP).
  • observer-ptr-lite – An observer_ptr for C++98 and later (Extensions for Library Fundamentals, v2, v3).
  • optional-fun-lite – Functional algorithms for optional (lite) for C++98, C++11 and later.
    See also optional-lite.
  • optional-bare – A simple version of a C++17-like optional for default-constructible, copyable types, for C++98 and later.
  • optional-lite – A C++17-like optional, a nullable object for C++98, C++11 and later.
  • ring-span-lite – A ring_span type for C++98, C++11 and later (p0059).
  • scope-lite – C++ library extensions scope_exit, scope_fail, scope_success, unique_resource (C++ standard libraries extensions, version 3: Generic scope and RAII Wrapper.).
  • span-lite – A C++20-like span for C++98, C++11 and later.
  • status-value-lite – A class for status and optional value for C++11 and later, with C++98 variant also provided (p0262).
  • string-lite – String algorithms for C++11 and later.
  • string-non-lite – String facilities for C++98 and later.
    Prefer to use string-lite.
  • string-view-lite – A C++17-like string_view for C++98, C++11 and later .
  • type-lite – Strong types for C++98, C++11 and later.
  • value-ptr-lite – A C++ smart-pointer with value semantics for C++98, C++11 and later.
    See also indirect-value-lite.
  • variant-lite – A C++17-like variant, a type-safe union for C++98, C++11 and later.

Pinned Loading

  1. bit-lite bit-lite Public

    bit-lite - C++20 bit operations for C++98 and later in a single-file header-only library.

    C++ 43 5

  2. boolean-lite boolean-lite Public

    boolean lite: A strong boolean type for C++98 and later

    C++ 6 1

  3. byte-lite byte-lite Public

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

    C++ 59 9

  4. string-lite string-lite Public

    String algorithms for C+11 and later in a single-file header-only library.

    C++ 7

  5. any-lite any-lite Public

    any lite - A C++17-like any, a type-safe container for single values of any type for C++98, C++11 and later in a single-file header-only library

    C++ 149 27

  6. expected-lite expected-lite Public

    expected lite - C++23 expected objects for C++11 and later in a single-file header-only library

    C++ 506 44

Repositories

Showing 10 of 26 repositories
  • scope-lite Public

    A migration path to C++ library extensions scope_exit, scope_fail, scope_success, unique_resource, C++ standard libraries extensions, version 3.

    nonstd-lite/scope-lite’s past year of commit activity
    C++ 49 BSL-1.0 9 2 0 Updated Oct 16, 2025
  • vcpkg Public Forked from microsoft/vcpkg

    VC++ Packaging Tool

    nonstd-lite/vcpkg’s past year of commit activity
    CMake 0 MIT 7,339 0 0 Updated Oct 14, 2025
  • .github Public
    nonstd-lite/.github’s past year of commit activity
    0 BSL-1.0 0 0 0 Updated Oct 12, 2025
  • bit-lite Public

    bit-lite - C++20 bit operations for C++98 and later in a single-file header-only library.

    nonstd-lite/bit-lite’s past year of commit activity
    C++ 43 BSL-1.0 5 0 0 Updated Oct 10, 2025
  • span-lite Public

    span lite - A C++20-like span for C++98, C++11 and later in a single-file header-only library

    nonstd-lite/span-lite’s past year of commit activity
    C++ 504 BSL-1.0 45 8 0 Updated Oct 8, 2025
  • variant-lite Public

    variant lite - A C++17-like variant, a type-safe union for C++98, C++11 and later in a single-file header-only library.

    nonstd-lite/variant-lite’s past year of commit activity
    C++ 250 BSL-1.0 29 2 0 Updated Oct 2, 2025
  • active-lite Public

    Active objects for C++11 and later.

    nonstd-lite/active-lite’s past year of commit activity
    CMake 3 BSL-1.0 0 0 0 Updated Sep 29, 2025
  • nonstd-lite Public

    Stuff common to nonstd lite repositories

    nonstd-lite/nonstd-lite’s past year of commit activity
    CMake 5 1 24 0 Updated Sep 28, 2025
  • value-ptr-lite Public

    value-ptr-lite - A C++ smart-pointer with value semantics for C++98, C++11 and later in a single-file header-only library

    nonstd-lite/value-ptr-lite’s past year of commit activity
    C++ 50 BSL-1.0 14 4 1 Updated Sep 28, 2025
  • type-lite Public

    type - Strong types for C++98, C++11 and later in a single-file header-only library

    nonstd-lite/type-lite’s past year of commit activity
    C++ 38 BSL-1.0 3 0 0 Updated Sep 28, 2025

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

C++ CMake