Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-05-08 07:48:24


You could considerably simplify range_size by removing half of the
specializations and adding this one:

       template <class T>
       struct range_size<T const>
         : range_size<T>
       {};

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk