Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Downloads
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Forums
  - IRC
  - Community Discord
  - Wiki
  - GitHub
  - Issues
  - Get involved
  - Contributors
  - Foundation
  - Security Team
  - Donate
  - Sponsors
- Resources
  - Tour
  - Books
  - Tutorials
  - Tools
  - Editors
  - IDEs
  - run.dlang.io
  - Visual D
  - Acknowledgments
  - D Style
  - Glossary
  - Sitemap

Search
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

# core.internal.array.concatenation

This module contains support for controlling dynamic arrays' concatenation
License:
Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)

Source core/internal/array/concatenation.d

template `_d_arraycatnTXImpl`(Tarr : ResultArrT[], ResultArrT : T[], T)
  Implementation of _d_arraycatnTX and _d_arraycatnTXTrace
  pure nothrow @trusted ResultArrT `_d_arraycatnTX`(scope const Tarr `arrs`);
    Concatenating the arrays inside of `arrs`. `_d_arraycatnTX`([a, b, c]) means a ~ b ~ c.
    Parameters:

    Tarr `arrs` | Array containing arrays that will be concatenated.

    Returns:
    A newly allocated array that contains all the elements from all the arrays in `arrs`.
    Bugs:
    This function template was ported from a much older runtime hook that bypassed safety, purity, and throwabilty checks. To prevent breaking existing code, this function template is temporarily declared @trusted pure nothrow until the implementation can be brought up to modern D expectations.
  alias `_d_arraycatnTXTrace` = _d_HookTraceImpl!(ResultArrT, _d_arraycatnTX, errorMessage);
    TraceGC wrapper around core.internal.array.concat.d_arraycatnTX.
    Bugs:
    This function template was ported from a much older runtime hook that bypassed safety, purity, and throwabilty checks. To prevent breaking existing code, this function template is temporarily declared @trusted pure nothrow until the implementation can be brought up to modern D expectations.

Copyright © 1999-2023 by the D Language Foundation | Page generated by Ddoc on Sat Apr 1 13:09:24 2023