|
Boost : |
Subject: [boost] Interest in operator_cast?
From: Nick Carroll (nick.coder.42_at_[hidden])
Date: 2009-02-12 16:29:28
Idea: casting function which invokes an explicitly defined cast operator on
a type if defined, else generates a compile-time error.
See
http://stackoverflow.com/questions/209793/any-way-to-cast-with-class-operator-only
for discussion of motivation and design.
Would there be any interest in incorporating this into boost/cast?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk