Thorsten Ottosen wrote:
abir basak wrote:
Thorsten Ottosen wrote:
I will be glad if someone can show a way to know where a template parameter is const, as that will help me in many other part of the codes also (I am little fond of const-ness and use it as much as possible).
I checked with the release candidate, and it differs from the cvs head for sub_range.hpp. If you try the release candidate it should work.
The difference is that the release candidate uses iterator_reference instead of value_type&.
cheers
-Thorsten RC_1_34 works. Revision 1.21. To my surprise, Revision 1.23 (HEAD) changed it to value_type& and const value_type& ! Many many thanks . abir basak
-- Abir Basak, Member IEEE Software Engineer, Read Ink Technologies B. Tech, IIT Kharagpur email: abir@abirbasak.com homepage: www.abirbasak.com