Boost.Capy

    • Introduction
    • Quick Start
    • Introduction To C++20 Coroutines
      • Part I: Foundations
      • Part II: C++20 Syntax
      • Part III: Coroutine Machinery
      • Part IV: Advanced Topics
    • Introduction to I/O Awaitables
      • Concept Hierarchy
      • The Executor
      • The Stop Token
      • The Allocator
      • Launching Coroutines
    • Capy Library
      • The task<T> Type
      • Error Handling with io_result
      • Stream Concepts
      • Concurrent Composition
      • Cancellation
      • Synchronization Primitives
      • Executors and Strands
      • Frame Allocators
    • Buffers
      • Overview
      • Buffers and I/O
      • Buffer Types
      • Buffer Sequences
      • Buffer Algorithms
      • Dynamic Buffers
    • Testing Facilities
      • Overview
    • Reference
  • boost::capy::tag_invoke
arrow_upward

boost::capy::tag_invoke

Remove a slice from the buffer

Synopsis

Declared in <boost/capy/buffers.hpp>

void
tag_invoke(
    slice_tag const&,
    const_buffer& b,
    slice_how how,
    std::size_t n) noexcept;

Parameters

Name Description

b

Holds a contiguous range of unmodifiable bytes

how

slice constants for slice customization

Created with MrDocs