Boost logo

Boost :

From: dherring_at_[hidden]
Date: 2008-03-25 19:11:49

Quick question:

In boost/pool/detail/gcd_lcm.hpp, why does

template <typename Integer>
Integer lcm(const Integer & A, const Integer & B);

take its parameters as const references instead of just passing the

I don't see a reason to do this; gdc(A, B) takes values.


P.S. As seen in boost_1_35_0_RC2, aka boost-posix-2008-03-21.

Boost list run by bdawes at, gregod at, cpdaniel at, john at