Boost.Capy

    • Introduction
    • Why Capy?
    • Quick Start
    • Introduction To C++20 Coroutines
      • Coroutine Foundations
      • C++20 Syntax
      • Coroutine Machinery
      • Advanced Topics
    • Introduction to Concurrency
      • Concurrency Foundations
      • Synchronization
      • Advanced Primitives
      • Communication & Patterns
    • Coroutines in Capy
      • The task Type
      • Starting Coroutines
      • Executors and Execution Contexts
      • The IoAwaitable Protocol
      • Stop Tokens and Cancellation
      • Concurrent Composition
      • Frame Allocators
      • Lambda Coroutine Captures
    • Buffer Sequences
      • Why Concepts, Not Spans
      • Buffer Types
      • Buffer Sequences
      • System I/O Integration
      • Buffer Algorithms
    • Stream Concepts
      • Overview
      • Streams (Partial I/O)
      • Physical Isolation
    • Testing
      • Driving Tests
      • Mock Streams
      • Buffer Inspection
    • Example Programs
      • Hello Task
      • Producer-Consumer
      • Buffer Composition
      • Mock Stream Testing
      • Type-Erased Echo
      • Timeout with Cancellation
      • Parallel Fetch
      • Strand Serialization
      • Async Mutex
      • Parallel Tasks
      • Custom Executor
      • Bridging a P2300 Sender
      • Calling Asio from a Capy Coroutine
      • GUI Integration
    • Design
      • Layered Abstractions
      • Why Capy Is Separate
      • ReadStream
      • WriteStream
      • Type-Erasing Awaitables
      • Executor
      • Run API
      • Why Not Cobalt?
      • Why Not Cobalt Concepts?
      • Why Not TooManyCooks?
    • Methods of API Description
      • Cancellation
      • Contingencies
    • Reference
  • boost::capy::test::bufgrind::split_type
arrow_upward

boost::capy::test::bufgrind::split_type

Pairs the two slice_type halves that next yields together.

Synopsis

Declared in <boost/capy/test/bufgrind.hpp>

using split_type = std::pair<slice_type, slice_type>;

Created with MrDocs