|
Boost : |
Subject: Re: [boost] [TTI] macro to "box" types for subsequent traits extraction?
From: Rob Stewart (robertstewart_at_[hidden])
Date: 2014-05-07 04:55:52
On May 5, 2014 11:03:01 AM EDT, Rein Halbersma <rhalbersma_at_[hidden]> wrote:
>
>I have a small feature request for the Type Traits Introspection
>library: a
>macro BOOST_TTI_BOX_TYPE(U) that defines a class template box_type<T>
>with
>a nested typedef named "type" that equals T::U.
Where does the macro get T?
>Small self-contained example:
>http://coliru.stacked-crooked.com/a/76b9abf4aaf00350
Posting the code facilitates later searching and prevents problems on finding out later (should the linked site disappear or the linked code be deleted on the future). It also permits quoting portions in replies.
___
Rob
(Sent from my portable computation engine)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk