Re: [Boost-users] Bind/Function: use reference arguments in template variadic functions

12 Apr
2013
12 Apr
'13
10:41 a.m.
AMDG On 04/11/2013 01:57 PM, Yannick POTIN wrote:
The arguments of call_something are passed by value. Try: template<class ...classes> boost::function0<void> call_something(classes&... c) In Christ, Steven Watanabe Thank you, It actually allows me to use references in these functions. I just tried and g++ is waiting for only references but I need to use pointers and/or values too. There is a way to use mixed types in template variadic functions ? Regards, Yannick POTIN
4473
Age (days ago)
4473
Last active (days ago)
1 comments
2 participants
participants (2)
-
Steven Watanabe
-
Yannick POTIN