C2019: Generate function from template

[DISABLE, INFORMATION , WARNING, ERROR]

Description

A function was instantiated from a template.

Example
  template<class S> void f(S s) {

  
    // ...

  
  };

  
  void main(void) {

  
    int i;

  
    char ch;

  
    f(4);   // generate

  
    f(i);   // not generating, already generated

  
    f(ch);  // generate

  
  }

  
Tips

The fewer functions are instantiated from a template, the less code is produced. So try to use already generated template functions instead of letting the compiler generate new ones.