---
title: "What is generic function in c plus plus ?"  
description: "What is generic function in c plus plus ?"  
author: "Anonymous User"  
published: 2013-06-13  
updated: 2013-06-14  
canonical: https://www.mindstick.com/forum/1071/what-is-generic-function-in-c-plus-plus  
category: "visual c++"  
tags: ["visual c++"]  
reading_time: 1 minute  

---

# What is generic function in c plus plus ?

Hi [Developers](https://www.mindstick.com/articles/12875/blunders-you-must-avoid-while-hiring-java-developers-to-get-the-best-fulfilling-your-needs),\
What is generic [function](https://www.mindstick.com/articles/13001/multi-statement-table-valued-user-defined-function-in-sql-server) in [c++](https://www.mindstick.com/blog/745/array-in-c-plus-plus)? Can you described it in [simple](https://yourviews.mindstick.com/story/1469/5-simple-ways-to-stay-fit-amp-healthy) and concrete words.\
Thanks in advance.

## Replies

### Reply by AVADHESH PATEL

A generic functions defines a generic set of operations that will be to various types of data.A generic function has the type of data that it will operate upon passed to it as a parameter.Using this mechanism,the same general procedure can be applied to a wide range of data. A generic function is created using the keyword template.


---

Original Source: https://www.mindstick.com/forum/1071/what-is-generic-function-in-c-plus-plus

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
