Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Tuple class and records in the Spring4D framework (https://www.delphipraxis.net/208236-tuple-class-records-spring4d-framework.html)

DP News-Robot 1. Jul 2021 06:10

Tuple class and records in the Spring4D framework
 
The Spring Framework for Delphi has some cool tuple support. The [WayBack] Tuple class has 3 create methods that build generic Tuple<> records with 2, 3 and 4 fields: [WayBack] class function Create<T1, T2>(const value1: T1; const value2: T2): Tuple<T1, T2>; overload; static; inline; [WayBack] type Tuple<T1, T2> = record end; having fields Value1: T1, […]

Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:20 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz