قالب (سي++)

القوالب (بالإنجليزية: Templates)‏ من خصائص لغة C++ التي تسمح للدوال والأصناف (Classes)  بالعمل ببيانات غير محددة النوع. ما يسمح للمطور بالاقتصاد في كتابة الكود.

استلهم معظم مفهوم القوالب من لغة CLU و لغة أدا.[1]

المراجع

  1. Stroustrup, Bjarne (08 سبتمبر 2004)، "The C++ Programming Language (Third Edition and Special Edition)"، Bjarne Stroustrup's homepage، مؤرشف من الأصل في 14 مايو 2019.
  • بوابة برمجة الحاسوب
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.