Boost logo

Boost Users :

Subject: Re: [Boost-users] function template with a universal reference to a specific type
From: Andrea Bocci (andrea.bocci_at_[hidden])
Date: 2018-12-31 10:51:48


Hi Irek,
I am confused, because you wrote

> I need to provide different implementations of foo for different types

and

> it would be more generic to provide a single function implementation

which I find contradictory.

Do you mean that you want to write a templated implementation once, and
that implementation should call different function/methods/etc. depending
on the templated type ?

Regards,
.Andrea



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net