|
Boost Users : |
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net