[Cs3] function pointer to a template, templated function pointer

Mikhail Nesterenko mnestere at kent.edu
Tue Mar 4 21:36:30 EST 2025


CS3 students,

You are not the only nosy ones. A year ago, I was apparently asked
about function pointers and templates. So presently I updated an
already existing example to showcase:

1. a (regular) function pointer, pointing to a templated function
2. a templated function pointer, pointing to a regular function.


Take a look:

   http://www.cs.kent.edu/~mikhail/classes/cs3/Examples/STLAlgorithms/Introduction/fp2templateInstance.cpp

Thanks,
-- 
Mikhail


More information about the cs3 mailing list