65.9K
CodeProject is changing. Read more.
Home

Arithmetic in generic code

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.56/5 (5 votes)

Jan 10, 2017

CPOL

4 min read

viewsIcon

10832

Want to square-root an arbitrary type T in your generic code and multiply it by its natural logarithm? No problem.