Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-09-17 13:38:36


Hi Peter,

This change broke iterator support in the Boost.Python library:

Working file: bind.hpp
head: 1.21
locks: strict
branch:
access list:
keyword substitution: kv
total revisions: 26
selected revisions: 1
description:
----------------------------
  revision 1.21
  date: 2002/09/17 12:41:05
  author: pdimov
  branches:
  description:
    Fix for data member support, result_type was R instead of R const &
===========================================================================
==

I know it's not completely uniform, but I think the standard generally has
result_type being a value, not a reference. If you make it a reference I
have hassles on compilers without partial specialization because I can only
strip the reference at runtime.

Was this an important thing to do?

-Dave

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave_at_[hidden] * http://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