
24 Feb
2011
24 Feb
'11
1:51 p.m.
On 24/02/11 13:42, Joachim Faulhaber wrote:
The reason that your code does not compile with gcc but compiles with msvc is, that gcc is pickier when you try to pass a temporary object to a reference parameter. When I pass the non-temporary object 'int_set' to the function calls, the code compiles.
Great! Thanks for the help and sorry for the noise, I've seen too many compilation errors recently, I should have caught that one though. Thanks, John.