
29 Aug
2010
29 Aug
'10
1:21 p.m.
On Sun, Aug 29, 2010 at 1:50 AM, Mathias Gaunard <mathias.gaunard@ens-lyon.org> wrote:
size_t(size) instead of static_cast<size_t>(size) should work just fine. No need for any cast.
The problem with that is that size_t(size) *is* a dangerous c-style cast unless size_t has a nontrivial constructor. -- Dave Abrahams BoostPro Computing http://www.boostpro.com