From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2005-06-04 18:49:59
"Pavel Chikulaev" <pavel.chikulaev_at_[hidden]> wrote
> I've got a small feature request to type_of library:
> 1) BOOST_TYPEOF_CONSTANT_COMPLEXITY Macro
> is defined if typeof can't evaluated with constant complexity
> 2) BOOST_TYPEOF_LINEAR_COMPLEXITY Macro
> is defined if typeof can't evaluated with linear complexity
Not sure I fully understand this...
The complexity of typeof is constant if either native __typeof__ or MSVC
trick (by Igor Chesnokov) is used. In this case also no registration is
required. In this mode BOOST_TYPEOF_NATIVE is defined.
If emulation is used, the complexity of typeof is (almost) linear,
registration is required, and BOOST_TYPEOF_COMPLIANT (probably should be
changed to BOOST_TYPEOF_EMULATION) defined.
Is this what you meant or did you have something else in mind?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk