---
title: "What is the disadvantage of a template function?"  
description: "What is the disadvantage of a template function?"  
author: "Anonymous User"  
published: 2011-03-28  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/666/what-is-the-disadvantage-of-a-template-function  
category: "oops"  
tags: ["oops"]  
reading_time: 1 minute  

---

# What is the disadvantage of a template function?

A template function cannot be distributed in the obj form. This is because, fuction with which parameters the template function is going to be called is decided at the run time only. Therefore an obj form of a template function cannot be made by merely compiling it.

## Answers

### Answer by Anonymous User

A template function cannot be distributed in the obj form. This is because, fuction with which parameters the template function is going to be called is decided at the run time only. Therefore an obj form of a template function cannot be made by merely compiling it.


---

Original Source: https://www.mindstick.com/interview/666/what-is-the-disadvantage-of-a-template-function

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
