Ada 编程/库/Ada.Containers.Generic_Sort
外观
此语言特性是在 Ada 2012 中引入的。
Ada.Containers.Generic_Sort 是 预定义语言环境 自 Ada 2012 以来的一个单元。
-- Standard Ada library specification -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. -- SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaReferenceManual -- -------------------------------------------------------------------------generictypeIndex_Typeis(<>);withfunctionBefore (Left, Right : Index_Type)returnBoolean;withprocedureSwap (Left, Right :inIndex_Type);procedureAda.Containers.Generic_Sort (First, Last : Index_Type'Base);pragmaPure(Ada.Containers.Generic_Sort);
外部示例
[编辑源代码]- 搜索
Ada.Containers.Generic_Sort的 示例:Rosetta Code、GitHub (gists)、任何 Alire 包 或 本华夏公益教科书。 - 搜索与
Ada.Containers.Generic_Sort相关的 帖子:Stack Overflow、comp.lang.ada 或 任何与 Ada 相关的页面。
FSF GNAT
- 规范:a-cogeso.ads
drake
