Boost logo

Boost :

Subject: [boost] [typeof] registration question
From: Cromwell Enage (sponage_at_[hidden])
Date: 2012-03-25 15:17:10


Hi, folks! In emulation mode, given the following definition: template <typename Container> struct some_metafunction {     typedef BOOST_TYPEOF_TPL(         Container().insert(             typename Container::iterator()           , typename Container::value_type()         )     ) type; }; Which of the following types need to be registered? 1. The argument passed as `Container` 2. The result of `typename Container::iterator` 3. The result of `typename Container::value_type`


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk