$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [range] indirected requirements for custom smart pointer
From: Jeff Flinn (Jeffrey.Flinn_at_[hidden])
Date: 2012-06-21 09:41:43
Using boost::adaptors::indirected with a custom templated smart pointer
failed compilation due to missing MyCustomSmartPointer::element_type
typedef. Indeed supplying this typedef, all compiles and tests run.
Is this the canonical approach to making a compatible pointer type
usable with range? Is this specific to range only? Will this make my
custom smart pointer 'more' compatible with other boost/std facilities?
Thanks, Jeff