JH-Toolkit v1.4.1
An engineering-oriented C++20 toolkit with duck-typed concepts, static design, async coroutines, and semantic containers — header-only, RTTI-free, and concurrency-friendly.
Loading...
Searching...
No Matches
ranges_ext File Reference

Forward-aggregator header for jh::ranges extensions. More...

#include "jh/ranges/adapt.h"
#include "jh/ranges/to.h"
#include "jh/ranges/collect.h"

Go to the source code of this file.

Namespaces

namespace  jh::ranges
 Semantic pipeline namespace for JH range operations.

Detailed Description

Forward-aggregator header for jh::ranges extensions.

This header aggregates all engineering-oriented and semantic range extensions under the jh::ranges namespace.

#include <jh/ranges_ext>

Internally, it includes the underlying extension implementations from jh/ranges/ to provide a unified include entry under jh::ranges.

Overview

  • Defines jh::ranges as the user-facing namespace.
  • Aggregates all semantic/engineering extensions (e.g. adapt, to, collect).
  • All implementations located in jh/ranges/*.h.
  • Focuses on enriching std::ranges with expressive, project-level utilities.

Design Note

This header only exposes functions and utilities defined in jh::ranges. It does not directly expose internal templates such as *_view or *_wrapper.

Those auxiliary templates (e.g. zip_view) reside under jh/ranges/ and are consumed by the corresponding adaptor headers under jh/ranges/views/ — for instance, jh/ranges/zip_view.h is used internally by jh/ranges/views/zip.h.

Therefore, if you need to use such adaptors directly, include <jh/views> instead of <jh/ranges_ext>.