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


> 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 ?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at