TallJimbo/bp3 — Issue #3: add const-correctness
Author: TallJimbo
Created: 2012-02-12 17:41:37+00:00
State: open

Python doesn't handle const-correctness very gracefully, but there's a prototype in the Boost.Sandbox for maintaining const-correctness that works pretty well. It uses a "const proxy" Python class that wraps the regular Boost.Python-wrapped object and only provides forwards for non-mutating operations, and only has rvalue converters registered for it. We should be able to clean up the interface considerably by integrating it into Boost.Python itself.